[jbeulich@dus-dev-sles15v ~]$ gcc -Wall -W -o vzero{,.s} && gdbx ./vzero GNU gdb (GDB) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./vzero...done. (gdb) break main Breakpoint 1 at 0x400497 (gdb) r Starting program: /home/jbeulich/vzero Breakpoint 1, 0x0000000000400497 in main () (gdb) disp/i $pc 2: x/i $pc => 0x400497
: vpternlogd zmm0,zmm0,zmm0,0xff (gdb) si 0x000000000040049e in main () 2: x/i $pc => 0x40049e : vpternlogd zmm16,zmm0,zmm0,0xff (gdb) 0x00000000004004a5 in main () 2: x/i $pc => 0x4004a5 : vzeroupper (gdb) print $zmm0.v16_int32 $1 = {-1 } (gdb) print $zmm16.v16_int32 $2 = {-1 } (gdb) si 0x00000000004004a8 in main () 2: x/i $pc => 0x4004a8 : xor eax,eax (gdb) print $zmm16.v16_int32 $3 = {-1 } (gdb) q A debugging session is active. Inferior 1 [process 56857] will be killed. Quit anyway? (y or n) y