Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ppc64/ppc64asm: improve disassembly for ppc64
The following improvements are included in this change: - Display common special purpose registers for mtlr,mflr,mtctr,mfctr, mtxer,mfxer,mftb; for others use mtspr and mfspr. - Provide branch condition information (lt, gt, eq, ne, ge, le). - Add cr number if cr1-cr7 is used. - Pass pc to gnuArg to generate branch targets that are not relative. Change-Id: Ia3ef6cb248c484a3ad72545e68d1ca59e32ae645 Reviewed-on: https://go-review.googlesource.com/c/arch/+/194597 Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
- Loading branch information
Showing
4 changed files
with
169 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters