3 ms·
Exposing processor-specific details is the desired feature, not a bug. The people who want to program C for portable assembly do so because they want to take ad
by jcranmer 8y ago
Exposing processor-specific details is the desired feature, not a bug. The people who want to program C for portable assembly do so because they want to take advantage of things they know about the architecture: the same source code isn't really portable across different architectures without #ifdef anyways.
- p1esk 8y agoBut if you don't care about portability, and want more hardware control, you can do inline assembly, or something like Intel's AVX intrinsics.