Index: src/x64/disasm-x64.cc |
diff --git a/src/x64/disasm-x64.cc b/src/x64/disasm-x64.cc |
index a9532dc3ad9b97f8f238cefa7450b26c002dbed4..0c30ed4d4a8590dc35bf77919516748a65af9a8b 100644 |
--- a/src/x64/disasm-x64.cc |
+++ b/src/x64/disasm-x64.cc |
@@ -359,7 +359,7 @@ class DisassemblerX64 { |
bool vex_128() { |
DCHECK(vex_byte0_ == VEX3_PREFIX || vex_byte0_ == VEX2_PREFIX); |
byte checked = vex_byte0_ == VEX3_PREFIX ? vex_byte2_ : vex_byte1_; |
- return (checked & 4) != 1; |
+ return (checked & 4) == 0; |
} |
bool vex_none() { |