Fix disassembly of pcmpgtq
pcmpgtq was added in https://crrev.com/c/1684362 but not to the disasembler. Bug: v8:8460 Change-Id: Id30f9ece015713e8597f5e218dc066ab75ccec96 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1703766 Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/master@{#62750}
This commit is contained in:
parent
3e068605da
commit
b479bed1e0
@ -1684,6 +1684,7 @@ int DisassemblerX64::TwoByteOpcodeInstruction(byte* data) {
|
||||
|
||||
SSSE3_INSTRUCTION_LIST(SSE34_DIS_CASE)
|
||||
SSE4_INSTRUCTION_LIST(SSE34_DIS_CASE)
|
||||
SSE4_2_INSTRUCTION_LIST(SSE34_DIS_CASE)
|
||||
#undef SSE34_DIS_CASE
|
||||
default:
|
||||
UnimplementedInstruction();
|
||||
|
@ -606,6 +606,14 @@ TEST(DisasmX64) {
|
||||
SSE4_INSTRUCTION_LIST(EMIT_SSE34_INSTR)
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
if (CpuFeatures::IsSupported(SSE4_2)) {
|
||||
CpuFeatureScope scope(&assm, SSE4_2);
|
||||
|
||||
SSE4_2_INSTRUCTION_LIST(EMIT_SSE34_INSTR)
|
||||
}
|
||||
}
|
||||
#undef EMIT_SSE34_INSTR
|
||||
|
||||
// AVX instruction
|
||||
|
Loading…
Reference in New Issue
Block a user