From 04f161170ca6caef9ce0b6e496bcaa9ff148e282 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 25 Nov 2020 15:30:35 +0000 Subject: [PATCH] re-encode addi and addis in 16-bit C --- openpower/sv/16_bit_compressed.mdwn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.30.2