diff options
author | Guinevere Larsen <guinevere@redhat.com> | 2024-11-12 17:45:05 -0300 |
---|---|---|
committer | Guinevere Larsen <guinevere@redhat.com> | 2024-11-22 17:40:25 -0300 |
commit | b19c86e2db1c9556a4199a6d9c67d9585fa6be24 (patch) | |
tree | fc2f024311e4a654a439f2d80fe0f96128b5fbd2 /gdb/i386-tdep.c | |
parent | f21055a4e9a2c3c2c7769e4ff7de246555dcd9be (diff) | |
download | gdb-b19c86e2db1c9556a4199a6d9c67d9585fa6be24.zip gdb-b19c86e2db1c9556a4199a6d9c67d9585fa6be24.tar.gz gdb-b19c86e2db1c9556a4199a6d9c67d9585fa6be24.tar.bz2 |
gdb/record: Add support for recording vpmovmskb
This commit adds support for recording the AVX instruction vpmovmskb,
and tests to the relevant file. The test didn't really support checking
general purpose registers, so this commit also adds a proc to
gdb.reverse/i386-avx-reverse.exp, which can be used to test them
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 2a07670..0f366da 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -4992,6 +4992,15 @@ i386_record_vex (struct i386_record_s *ir, uint8_t vex_w, uint8_t vex_r, break; } + case 0xd7: /* VPMOVMSKB */ + { + i386_record_modrm (ir); + record_full_arch_list_add_reg (ir->regcache, + ir->regmap[X86_RECORD_REAX_REGNUM + + ir->reg + 8 * vex_r]); + } + break; + case 0xef: { i386_record_modrm (ir); |