From e8b76952a4cbf3e26ba65f6f7a2a3750de733cd1 Mon Sep 17 00:00:00 2001 From: Milad Fa Date: Thu, 18 Nov 2021 10:16:41 -0500 Subject: [PATCH] PPC: add lhbrx to the dissembler Change-Id: Ie61638fbc61b5a84dc9ba396e4df7193a2ebd6a7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3291547 Reviewed-by: Junliang Yan Commit-Queue: Milad Fa Cr-Commit-Position: refs/heads/main@{#77978} --- src/diagnostics/ppc/disasm-ppc.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/diagnostics/ppc/disasm-ppc.cc b/src/diagnostics/ppc/disasm-ppc.cc index 7d366a6ba1..03868d5357 100644 --- a/src/diagnostics/ppc/disasm-ppc.cc +++ b/src/diagnostics/ppc/disasm-ppc.cc @@ -1150,6 +1150,10 @@ void Decoder::DecodeExt2(Instruction* instr) { Format(instr, "ldbrx 'rt, 'ra, 'rb"); return; } + case LHBRX: { + Format(instr, "lhbrx 'rt, 'ra, 'rb"); + return; + } case LWBRX: { Format(instr, "lwbrx 'rt, 'ra, 'rb"); return;