More opcodes

This commit is contained in:
Volker Berlin 2018-11-29 22:24:13 +01:00
parent 4104a87597
commit 07d78774a5

View File

@ -228,8 +228,12 @@ interface InstructionOpcodes {
static final int I64_DIV_S = 0x7F;
static final int I64_DIV_U = 0x80;
static final int I64_REM_S = 0x81;
static final int I64_REM_U = 0x82;
static final int I64_AND = 0x83;
static final int I64_OR = 0x84;
@ -246,6 +250,8 @@ interface InstructionOpcodes {
static final int I64_ROTR = 0x8A;
static final int F32_ABS = 0x8B;
static final int F32_NEG = 0x8C;
static final int F32_CEIL = 0x8D;
@ -345,6 +351,16 @@ interface InstructionOpcodes {
static final int F64_PROMOTE_F32 = 0xBB;
// === Reinterpretations
static final int I32_REINTERPRET_F32 = 0xBC;
static final int I64_REINTERPRET_F64 = 0xBD;
static final int F32_REINTERPRET_I32 = 0xBE;
static final int F64_REINTERPRET_I64 = 0xBF;
// === Sign-extension operators ====== https://github.com/WebAssembly/design/issues/1178
static final int I32_EXTEND8_S = 0xC0;