3 ms·
It sounds like you are off to a great start. Afaik there really isn't any 400 or 500 level material for advanced assembly programming. You could read Goto BLAS
by sitkack 6y ago
It sounds like you are off to a great start. Afaik there really isn't any 400 or 500 level material for advanced assembly programming. You could read Goto BLAS [1] or mkl-dnn [2]
I find reading assembly output from compilers to be a good start, it also helps you develop a mental model of what compilers expect in terms of stack hygiene.
Before godlbolt, https://godbolt.org/ https://godbolt.org/ there was `gcc -S` and now there is [3]
gcc -Wa,-adhln -g <file.c>
for interleaving source and assembly output. Keep the reference manual close and write lots of little experiments to confirm your findings.
[1] https://en.wikipedia.org/wiki/GotoBLAS https://en.wikipedia.org/wiki/GotoBLAS
[2] uses macros and intrinsics https://github.com/oneapi-src/oneDNN https://github.com/oneapi-src/oneDNN
[3] https://stackoverflow.com/questions/3867721/is-there-any-c-compiler-to-show-you-linked-program-in-asm https://stackoverflow.com/questions/3867721/is-there-any-c-c...