diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-07-13 20:56:26 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-07-13 20:56:26 +0300 |
commit | ae9e103995c1d809be7b8717905593e7dbbf9d17 (patch) | |
tree | 0ceaf6ee66e1d67bb8d0b9dd6f37b5687e4c2f09 /src/common.h | |
parent | e618924df98d4ee5037db86c768a8c8014e49c4c (diff) | |
download | ejit-ae9e103995c1d809be7b8717905593e7dbbf9d17.tar.gz ejit-ae9e103995c1d809be7b8717905593e7dbbf9d17.zip |
bytecode tests pass
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/src/common.h b/src/common.h index e9f0b69..1e08961 100644 --- a/src/common.h +++ b/src/common.h @@ -6,6 +6,7 @@ enum ejit_opcode { MOVI, + MOVI_F, MOVR, MOVR_F, @@ -46,10 +47,6 @@ enum ejit_opcode { STI16, STI32, STI64, - STIU8, - STIU16, - STIU32, - STIU64, STIF, STID, @@ -57,13 +54,16 @@ enum ejit_opcode { STXI16, STXI32, STXI64, - STXIU8, - STXIU16, - STXIU32, - STXIU64, STXIF, STXID, + STXR8, + STXR16, + STXR32, + STXR64, + STXRF, + STXRD, + EXTR8, EXTR16, EXTR32, @@ -88,17 +88,32 @@ enum ejit_opcode { DIVR_U, DIVR_F, - NEGR, + REMR, + REMR_U, + COMR, + NEGR, + NEGR_F, LSHI, LSHR, RSHI, + RSHI_U, RSHR, + RSHR_U, ANDR, ANDI, + ORR, + ORI, + + XORR, + XORI, + + TRUNCR_D_32, + TRUNCR_D_64, + EQR, NER, GTR, |