Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ppc64/ppc64asm: speed up PPC64 instruction decoding
It's really slow to iterate every instruction until a match is found. This turns decoding PPC64 binaries into a seemingly quick operation instead of a seconds long process for go toolchain sized binaries. Use the primary opcode to map each instruction into a list of viable masks, and group instructions with identical masks into a map to speed up decoding. Change-Id: Id0d0eefbb77244c379832d8a602662e551a7568a Reviewed-on: https://go-review.googlesource.com/c/arch/+/602717 Reviewed-by: Archana Ravindar <[email protected]> Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
- Loading branch information