From: Luke Kenneth Casson Leighton Date: Wed, 25 Nov 2020 15:30:35 +0000 (+0000) Subject: re-encode addi and addis in 16-bit C X-Git-Tag: convert-csv-opcode-to-binary~1659 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04f161170ca6caef9ce0b6e496bcaa9ff148e282;p=libreriscv.git re-encode addi and addis in 16-bit C --- diff --git a/openpower/sv/16_bit_compressed.mdwn b/openpower/sv/16_bit_compressed.mdwn index 270a5ad11..148a9099d 100644 --- a/openpower/sv/16_bit_compressed.mdwn +++ b/openpower/sv/16_bit_compressed.mdwn @@ -205,8 +205,10 @@ instruction counts from objdump on /bin/bash: | 1 | 0 | sh2 | | 001.0 | RA | sh | 1 | sradi. | 1 | 1 | 0 0 0 | | 001.0 | | 000 | 1 | TBD | 1 | 1 | 0 | sh2 | | 001.0 | RA | sh | 1 | srawi. - | 1 | 1 | 1 | | | 001.0 | | | 1 | TBD - | 1 | i2 | RT | | 010.0 | RA|0 | imm | 1 | addi + | 1 | 1 | 1 | | | 001.0 | 000 | imm | 1 | TBD + | 1 | 1 | 1 | i2 | | 001.0 | RA!=0| imm | 1 | addis + | 1 | | | 010.0 | 000 | | 1 | TBD + | 1 | i2 | | 010.0 | RA!=0| imm | 1 | addi | 1 | 0 | i2 | | 010.1 | RA | imm | 1 | cmpdi | 1 | 1 | i2 | | 010.1 | RA | imm | 1 | cmpwi | 1 | 0 | i2 | | 011.0 | RT | imm | 1 | ldspi