From: Antonio Ospite Date: Fri, 8 Nov 2013 16:30:25 +0000 (+0100) Subject: Add a README.txt file X-Git-Url: https://git.ao2.it/experiments/inline-assembly.git/commitdiff_plain/74cf2a428fabb68f49ea1eb15df96ae898765fc5?ds=inline Add a README.txt file --- diff --git a/README.txt b/README.txt index 134c8ec..3ba4a49 100644 --- a/README.txt +++ b/README.txt @@ -3,3 +3,13 @@ Some references: http://ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Extended-Asm.html http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Constraints.html + + +Debugging assembly code with gdb: + +gdb ./inline-asm-SIMD-sum +(gdb) break sum +(gdb) run +(gdb) display/i $pc +(gdb) stepi +(gdb) stepi