Power64spec reads the “Power ISA V2.07” Manual to collect instruction encoding details and writes those details to standard output in CSV format.
Usage:
ppc64spec PowerISA_V2.07_PUBLIC.pdf >ppc64.csv
Each CSV line contains four fields:
instruction The instruction heading, such as "AAD imm8". mnemonic The instruction mnemonics, separated by | symbols. encoding The instruction encoding, a sequence of name@startbit| describing each bit field in turn. tags For now, empty.
For more on the exact meaning of these fields, see the Power manual.