mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8321215: Incorrect x86 instruction encoding for VSIB addressing mode
Reviewed-by: shade, thartmann
This commit is contained in:
@@ -316,7 +316,7 @@ class Address {
|
||||
}
|
||||
|
||||
bool xmmindex_needs_rex() const {
|
||||
return _xmmindex->is_valid() && _xmmindex->encoding() >= 8;
|
||||
return _xmmindex->is_valid() && ((_xmmindex->encoding() & 8) == 8);
|
||||
}
|
||||
|
||||
relocInfo::relocType reloc() const { return _rspec.type(); }
|
||||
|
||||
Reference in New Issue
Block a user