[binutils-gdb] x86: prune redundant x64 from RMPREAD
Jan Beulich
jbeulich@sourceware.org
Fri Sep 11 11:48:08 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9c7b7854912b1cfe0582a50cbf6c31cedece4366
commit 9c7b7854912b1cfe0582a50cbf6c31cedece4366
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Sep 11 13:41:03 2026 +0200
x86: prune redundant x64 from RMPREAD
As noticed during review of the RMPOPT/RMPDIRTY patch: CpuRMPREAD depends
on Cpu64, so the attribute is redundant to specify. This then also matches
in particular RMPQUERY.
While there also add the missing operand-less form of the insn.
Diff:
---
opcodes/i386-opc.tbl | 3 +-
opcodes/i386-tbl.h | 113 +++++++++++++++++++++++++++------------------------
2 files changed, 62 insertions(+), 54 deletions(-)
diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl
index 8ff7bf1828e..5ed809f74af 100644
--- a/opcodes/i386-opc.tbl
+++ b/opcodes/i386-opc.tbl
@@ -3201,7 +3201,8 @@ rmpquery, 0xf30f01fd, RMPQUERY, AddrPrefixOpReg|NoSuf, { Acc|Dword|Qword, RegC|Q
// RMPREAD instruction
-rmpread, 0xf20f01fd, RMPREAD&x64, IsString|NoSuf|NoRex64, { Acc|Qword, RegC|Unspecified|BaseIndex }
+rmpread, 0xf20f01fd, RMPREAD, NoSuf, { }
+rmpread, 0xf20f01fd, RMPREAD, IsString|NoSuf|NoRex64, { Acc|Qword, RegC|Unspecified|BaseIndex }
// RMPREAD instruction end
diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h
index 6ff94673ec1..7bff462b54f 100644
--- a/opcodes/i386-tbl.h
+++ b/opcodes/i386-tbl.h
@@ -28899,6 +28899,13 @@ static const insn_template i386_optab[] =
{ { 149, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 } },
{ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } },
OPREF_3_90 },
+ { MN_rmpread, 0x01fd, 0, SPACE_0F, None,
+ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0 },
+ { { 150, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 } },
+ { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } },
+ 0 },
{ MN_rmpread, 0x01fd, 2, SPACE_0F, None,
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0,
0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -32755,59 +32762,59 @@ static const i386_op_off_t i386_op_sets[] =
4075, 4077, 4079, 4080, 4082, 4084, 4085, 4090,
4092, 4094, 4095, 4096, 4097, 4098, 4099, 4100,
4101, 4102, 4103, 4104, 4106, 4108, 4109, 4110,
- 4111, 4113, 4116, 4120, 4123, 4125, 4126, 4128,
- 4130, 4131, 4132, 4133, 4134, 4135, 4136, 4137,
- 4138, 4139, 4140, 4141, 4142, 4143, 4144, 4145,
- 4146, 4147, 4148, 4149, 4150, 4151, 4152, 4153,
- 4154, 4155, 4156, 4157, 4158, 4159, 4160, 4161,
- 4162, 4163, 4164, 4165, 4166, 4167, 4168, 4169,
- 4170, 4171, 4172, 4174, 4176, 4178, 4180, 4182,
- 4184, 4185, 4186, 4187, 4188, 4189, 4190, 4191,
- 4192, 4193, 4194, 4195, 4196, 4197, 4198, 4199,
- 4200, 4201, 4202, 4203, 4204, 4205, 4206, 4207,
- 4208, 4209, 4210, 4211, 4212, 4213, 4214, 4215,
- 4216, 4217, 4218, 4219, 4220, 4221, 4222, 4223,
- 4224, 4225, 4226, 4227, 4228, 4229, 4230, 4231,
- 4232, 4233, 4234, 4235, 4236, 4237, 4238, 4239,
- 4240, 4241, 4242, 4243, 4244, 4245, 4246, 4247,
- 4248, 4249, 4250, 4251, 4252, 4253, 4254, 4255,
- 4256, 4257, 4258, 4259, 4260, 4261, 4262, 4263,
- 4264, 4265, 4266, 4267, 4268, 4269, 4270, 4271,
- 4272, 4273, 4274, 4275, 4276, 4277, 4278, 4279,
- 4280, 4281, 4282, 4283, 4284, 4285, 4286, 4287,
- 4288, 4289, 4290, 4291, 4292, 4293, 4294, 4295,
- 4296, 4297, 4298, 4299, 4300, 4301, 4302, 4303,
- 4304, 4305, 4306, 4307, 4310, 4311, 4312, 4315,
- 4316, 4317, 4319, 4320, 4321, 4322, 4324, 4325,
- 4326, 4327, 4329, 4330, 4331, 4332, 4335, 4336,
- 4337, 4338, 4339, 4342, 4345, 4348, 4351, 4354,
- 4355, 4356, 4357, 4358, 4360, 4362, 4363, 4364,
- 4365, 4368, 4371, 4374, 4377, 4380, 4381, 4382,
- 4383, 4385, 4386, 4387, 4388, 4391, 4392, 4393,
- 4394, 4395, 4396, 4397, 4398, 4399, 4400, 4401,
- 4402, 4403, 4404, 4405, 4406, 4407, 4408, 4409,
- 4410, 4411, 4412, 4413, 4414, 4415, 4416, 4417,
- 4418, 4419, 4420, 4421, 4422, 4423, 4424, 4425,
- 4426, 4427, 4429, 4430, 4431, 4433, 4435, 4437,
- 4439, 4441, 4442, 4443, 4446, 4449, 4450, 4451,
- 4452, 4453, 4454, 4456, 4458, 4460, 4462, 4463,
- 4464, 4465, 4466, 4469, 4470, 4471, 4474, 4475,
- 4476, 4479, 4480, 4481, 4484, 4485, 4486, 4489,
- 4490, 4491, 4492, 4493, 4494, 4495, 4496, 4497,
- 4498, 4499, 4500, 4501, 4502, 4503, 4504, 4505,
- 4506, 4507, 4508, 4509, 4510, 4511, 4512, 4513,
- 4514, 4515, 4516, 4517, 4518, 4519, 4520, 4521,
- 4522, 4523, 4524, 4525, 4526, 4527, 4528, 4529,
- 4530, 4531, 4532, 4533, 4534, 4537, 4538, 4539,
- 4542, 4543, 4544, 4545, 4546, 4547, 4548, 4551,
- 4554, 4555, 4556, 4557, 4558, 4559, 4560, 4561,
- 4562, 4563, 4564, 4565, 4566, 4567, 4568, 4569,
- 4570, 4571, 4573, 4574, 4575, 4576, 4578, 4579,
- 4580, 4581, 4583, 4584, 4585, 4586, 4588, 4589,
- 4590, 4591, 4592, 4593, 4594, 4595, 4597, 4598,
- 4599, 4600, 4602, 4603, 4604, 4605, 4608, 4611,
- 4614, 4617, 4618, 4619, 4620, 4621, 4624, 4627,
- 4628, 4629, 4631, 4632, 4633, 4634, 4635
+ 4111, 4113, 4116, 4120, 4123, 4125, 4127, 4129,
+ 4131, 4132, 4133, 4134, 4135, 4136, 4137, 4138,
+ 4139, 4140, 4141, 4142, 4143, 4144, 4145, 4146,
+ 4147, 4148, 4149, 4150, 4151, 4152, 4153, 4154,
+ 4155, 4156, 4157, 4158, 4159, 4160, 4161, 4162,
+ 4163, 4164, 4165, 4166, 4167, 4168, 4169, 4170,
+ 4171, 4172, 4173, 4175, 4177, 4179, 4181, 4183,
+ 4185, 4186, 4187, 4188, 4189, 4190, 4191, 4192,
+ 4193, 4194, 4195, 4196, 4197, 4198, 4199, 4200,
+ 4201, 4202, 4203, 4204, 4205, 4206, 4207, 4208,
+ 4209, 4210, 4211, 4212, 4213, 4214, 4215, 4216,
+ 4217, 4218, 4219, 4220, 4221, 4222, 4223, 4224,
+ 4225, 4226, 4227, 4228, 4229, 4230, 4231, 4232,
+ 4233, 4234, 4235, 4236, 4237, 4238, 4239, 4240,
+ 4241, 4242, 4243, 4244, 4245, 4246, 4247, 4248,
+ 4249, 4250, 4251, 4252, 4253, 4254, 4255, 4256,
+ 4257, 4258, 4259, 4260, 4261, 4262, 4263, 4264,
+ 4265, 4266, 4267, 4268, 4269, 4270, 4271, 4272,
+ 4273, 4274, 4275, 4276, 4277, 4278, 4279, 4280,
+ 4281, 4282, 4283, 4284, 4285, 4286, 4287, 4288,
+ 4289, 4290, 4291, 4292, 4293, 4294, 4295, 4296,
+ 4297, 4298, 4299, 4300, 4301, 4302, 4303, 4304,
+ 4305, 4306, 4307, 4308, 4311, 4312, 4313, 4316,
+ 4317, 4318, 4320, 4321, 4322, 4323, 4325, 4326,
+ 4327, 4328, 4330, 4331, 4332, 4333, 4336, 4337,
+ 4338, 4339, 4340, 4343, 4346, 4349, 4352, 4355,
+ 4356, 4357, 4358, 4359, 4361, 4363, 4364, 4365,
+ 4366, 4369, 4372, 4375, 4378, 4381, 4382, 4383,
+ 4384, 4386, 4387, 4388, 4389, 4392, 4393, 4394,
+ 4395, 4396, 4397, 4398, 4399, 4400, 4401, 4402,
+ 4403, 4404, 4405, 4406, 4407, 4408, 4409, 4410,
+ 4411, 4412, 4413, 4414, 4415, 4416, 4417, 4418,
+ 4419, 4420, 4421, 4422, 4423, 4424, 4425, 4426,
+ 4427, 4428, 4430, 4431, 4432, 4434, 4436, 4438,
+ 4440, 4442, 4443, 4444, 4447, 4450, 4451, 4452,
+ 4453, 4454, 4455, 4457, 4459, 4461, 4463, 4464,
+ 4465, 4466, 4467, 4470, 4471, 4472, 4475, 4476,
+ 4477, 4480, 4481, 4482, 4485, 4486, 4487, 4490,
+ 4491, 4492, 4493, 4494, 4495, 4496, 4497, 4498,
+ 4499, 4500, 4501, 4502, 4503, 4504, 4505, 4506,
+ 4507, 4508, 4509, 4510, 4511, 4512, 4513, 4514,
+ 4515, 4516, 4517, 4518, 4519, 4520, 4521, 4522,
+ 4523, 4524, 4525, 4526, 4527, 4528, 4529, 4530,
+ 4531, 4532, 4533, 4534, 4535, 4538, 4539, 4540,
+ 4543, 4544, 4545, 4546, 4547, 4548, 4549, 4552,
+ 4555, 4556, 4557, 4558, 4559, 4560, 4561, 4562,
+ 4563, 4564, 4565, 4566, 4567, 4568, 4569, 4570,
+ 4571, 4572, 4574, 4575, 4576, 4577, 4579, 4580,
+ 4581, 4582, 4584, 4585, 4586, 4587, 4589, 4590,
+ 4591, 4592, 4593, 4594, 4595, 4596, 4598, 4599,
+ 4600, 4601, 4603, 4604, 4605, 4606, 4609, 4612,
+ 4615, 4618, 4619, 4620, 4621, 4622, 4625, 4628,
+ 4629, 4630, 4632, 4633, 4634, 4635, 4636
};
/* i386 mnemonics table. */
More information about the Binutils-cvs
mailing list