diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index 1e08961..c646288 100644 --- a/src/common.h +++ b/src/common.h @@ -7,8 +7,10 @@ enum ejit_opcode { MOVI, MOVI_F, + MOVI_D, MOVR, MOVR_F, + MOVR_D, LDI8, LDI16, @@ -73,20 +75,25 @@ enum ejit_opcode { ADDR, ADDR_F, + ADDR_D, ADDI, ABSR_F, + ABSR_D, SUBR, SUBR_F, + SUBR_D, SUBI, MULR, MULR_F, + MULR_D, DIVR, DIVR_U, DIVR_F, + DIVR_D, REMR, REMR_U, @@ -94,6 +101,7 @@ enum ejit_opcode { COMR, NEGR, NEGR_F, + NEGR_D, LSHI, LSHR, @@ -113,6 +121,8 @@ enum ejit_opcode { TRUNCR_D_32, TRUNCR_D_64, + TRUNCR_F_32, + TRUNCR_F_64, EQR, NER, @@ -125,20 +135,27 @@ enum ejit_opcode { NER_F, GTR_F, GER_F, + EQR_D, + NER_D, + GTR_D, + GER_D, BNER, BNEI, BNER_F, + BNER_D, BEQR, BEQI, BEQR_F, + BEQR_D, BGER, BGER_U, BGEI, BGEI_U, BGER_F, + BGER_D, BLEI, BLEI_U, @@ -148,12 +165,11 @@ enum ejit_opcode { BGTI, BGTI_U, BGTR_F, + BGTR_D, BLTI, BLTI_U, - BLTGTR_F, - JMP, JMPR, @@ -179,10 +195,13 @@ enum ejit_opcode { RETR, RETI, RETR_F, + RETR_D, RETI_F, + RETI_D, RETVAL, RETVAL_F, + RETVAL_D, START, END, @@ -203,6 +222,7 @@ struct ejit_insn { void *p; int64_t o; double d; + float f; }; }; |