saturated ops, neg and abs

This commit is contained in:
Ilya Rezvov
2023-09-08 22:30:37 -06:00
parent 707288debd
commit 369cad8a25
4 changed files with 131 additions and 1 deletions
+6
View File
@@ -72,11 +72,17 @@ data IUnOp =
| IExtend16S
| IExtend32S
| INot
| IAbs
| INeg
deriving (Show, Eq, Generic, NFData)
data IBinOp =
IAdd
| ISub
| IAddSatS
| ISubSatS
| IAddSatU
| ISubSatU
| IMul
| IDivU
| IDivS