From 1b54b8d7e4fc8055f9220a5287e8a94d8a65a88d Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 18 Dec 2017 09:36:14 +0100 Subject: x86: fold RegXMM/RegYMM/RegZMM into RegSIMD ... qualified by their respective sizes, allowing to drop FirstXmm0 at the same time. --- opcodes/i386-gen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'opcodes/i386-gen.c') diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index 411cacb..2acf1a4 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -343,6 +343,9 @@ static const initializer operand_type_shorthands[] = { "Reg64", "Reg|Qword" }, { "FloatAcc", "Acc|Tbyte" }, { "FloatReg", "Reg|Tbyte" }, + { "RegXMM", "RegSIMD|Xmmword" }, + { "RegYMM", "RegSIMD|Ymmword" }, + { "RegZMM", "RegSIMD|Zmmword" }, }; static initializer operand_type_init[] = @@ -601,7 +604,6 @@ static bitfield opcode_modifiers[] = BITFIELD (NoTrackPrefixOk), BITFIELD (IsLockable), BITFIELD (RegKludge), - BITFIELD (FirstXmm0), BITFIELD (Implicit1stXmm0), BITFIELD (RepPrefixOk), BITFIELD (HLEPrefixOk), @@ -643,9 +645,7 @@ static bitfield operand_types[] = { BITFIELD (Reg), BITFIELD (RegMMX), - BITFIELD (RegXMM), - BITFIELD (RegYMM), - BITFIELD (RegZMM), + BITFIELD (RegSIMD), BITFIELD (RegMask), BITFIELD (Imm1), BITFIELD (Imm8), -- cgit v1.1