diff options
author | Jan Beulich <jbeulich@novell.com> | 2017-12-18 09:36:14 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2017-12-18 09:36:14 +0100 |
commit | 1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d (patch) | |
tree | 251683194a05f8a20ac48f8260147bf3e6af37bb /opcodes/i386-opc.h | |
parent | ca0d63fe0703ed36af1a7bda6097958805895b3a (diff) | |
download | gdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.zip gdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.tar.gz gdb-1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d.tar.bz2 |
x86: fold RegXMM/RegYMM/RegZMM into RegSIMD
... qualified by their respective sizes, allowing to drop FirstXmm0 at
the same time.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index de68bc3..865da58 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -430,8 +430,6 @@ enum /* fake an extra reg operand for clr, imul and special register processing for some instructions. */ RegKludge, - /* The first operand must be xmm0 */ - FirstXmm0, /* An implicit xmm0 as the first operand */ Implicit1stXmm0, /* The HLE prefix is OK: @@ -643,7 +641,6 @@ typedef struct i386_opcode_modifier unsigned int notrackprefixok:1; unsigned int islockable:1; unsigned int regkludge:1; - unsigned int firstxmm0:1; unsigned int implicit1stxmm0:1; unsigned int hleprefixok:2; unsigned int repprefixok:1; @@ -689,12 +686,8 @@ enum Reg = 0, /* MMX register */ RegMMX, - /* SSE register */ - RegXMM, - /* AVX registers */ - RegYMM, - /* AVX512 registers */ - RegZMM, + /* Vector registers */ + RegSIMD, /* Vector Mask registers */ RegMask, /* Control register */ @@ -738,7 +731,7 @@ enum Disp32S, /* 64 bit displacement */ Disp64, - /* Accumulator %al/%ax/%eax/%rax/%st(0) */ + /* Accumulator %al/%ax/%eax/%rax/%st(0)/%xmm0 */ Acc, /* Register which can be used for base or index in memory operand. */ BaseIndex, @@ -806,9 +799,7 @@ typedef union i386_operand_type { unsigned int reg:1; unsigned int regmmx:1; - unsigned int regxmm:1; - unsigned int regymm:1; - unsigned int regzmm:1; + unsigned int regsimd:1; unsigned int regmask:1; unsigned int control:1; unsigned int debug:1; |