diff options
author | Guinevere Larsen <guinevere@redhat.com> | 2024-11-14 09:31:00 -0300 |
---|---|---|
committer | Guinevere Larsen <guinevere@redhat.com> | 2024-11-22 17:40:26 -0300 |
commit | ab8c2180a3de1461f361c75c420e4d37ac709e0b (patch) | |
tree | 45fdb02b9e350d9556ff515122a28c4b8f388b16 /gdb/i386-tdep.c | |
parent | b19c86e2db1c9556a4199a6d9c67d9585fa6be24 (diff) | |
download | gdb-ab8c2180a3de1461f361c75c420e4d37ac709e0b.zip gdb-ab8c2180a3de1461f361c75c420e4d37ac709e0b.tar.gz gdb-ab8c2180a3de1461f361c75c420e4d37ac709e0b.tar.bz2 |
gdb/record: introduce recoding support for vpor
This commit adds recording support for the AVX instruction vpor, and the
AVX2 extension. Since the encoding of vpor and vpxor are the same, and
their semantics are basically the same, modulo the mathematical
operation, they are handled by the same switch case block.
This also updates the vpxor function, to test vpor and vpxor, and
updates the name to vpor_xor_test to better reflect what it does.
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 0f366da..eb8ddfc 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -5001,7 +5001,8 @@ i386_record_vex (struct i386_record_s *ir, uint8_t vex_w, uint8_t vex_r, } break; - case 0xef: + case 0xef: /* VPXOR */ + case 0xeb: /* VPOR */ { i386_record_modrm (ir); int reg_offset = ir->reg + vex_r * 8; |