From: Luke Kenneth Casson Leighton Date: Sun, 8 Apr 2018 00:41:30 +0000 (+0100) Subject: add P-Ext ISA X-Git-Tag: convert-csv-opcode-to-binary~5725 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2c40ae5192e360bc1f274b7f3d11a3c5bf18c15;p=libreriscv.git add P-Ext ISA --- diff --git a/simple_v_extension.mdwn b/simple_v_extension.mdwn index 6ce5586be..b3fcc8362 100644 --- a/simple_v_extension.mdwn +++ b/simple_v_extension.mdwn @@ -584,6 +584,19 @@ translates effectively to: | KCRSA16 rt, ra, rb | Signed Saturating Cross Sub & Add | | | UKCRSA16 rt, ra, rb| Unsigned Saturating Cross Sub & Add | | +## 8-bit Arithmetic + +| Mnemonic | 16-bit Instruction | Simple-V Equivalent | +| ------------------ | ------------------------- | ------------------- | +| ADD8 rt, ra, rb | add | RV ADD (bitwidth=8)| +| RADD8 rt, ra, rb | Signed Halving add | | +| URADD8 rt, ra, rb | Unsigned Halving add | | +| KADD8 rt, ra, rb | Signed Saturating add | | +| UKADD8 rt, ra, rb | Unsigned Saturating add | | +| SUB8 rt, ra, rb | sub | RV SUB (bitwidth=8)| +| RSUB8 rt, ra, rb | Signed Halving sub | | +| URSUB8 rt, ra, rb | Unsigned Halving sub | | + # References