From c2c40ae5192e360bc1f274b7f3d11a3c5bf18c15 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 8 Apr 2018 01:41:30 +0100 Subject: [PATCH] add P-Ext ISA --- simple_v_extension.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.30.2