about summary refs log tree commit diff stats
path: root/033check_operands.cc
diff options
context:
space:
mode:
Diffstat (limited to '033check_operands.cc')
-rw-r--r--033check_operands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/033check_operands.cc b/033check_operands.cc
index 28a7458e..f46176c7 100644
--- a/033check_operands.cc
+++ b/033check_operands.cc
@@ -379,7 +379,7 @@ void check_operands_modrm(const line& inst, const word& op) {
   check_operand_metadata_present(inst, "mod", op);
   check_operand_metadata_present(inst, "rm32", op);
   // no check for r32; some instructions don't use it; just assume it's 0 if missing
-  if (op.data == "81" || op.data == "8f" || op.data == "ff") {  // keep sync'd with 'help subop'
+  if (op.data == "81" || op.data == "8f" || op.data == "f7" || op.data == "ff") {  // keep sync'd with 'help subop'
     check_operand_metadata_present(inst, "subop", op);
     check_operand_metadata_absent(inst, "r32", op, "should be replaced by subop");
   }