mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-09 00:14:10 -08:00
WASM: fix opcodes
This commit is contained in:
parent
96b2d4e7d6
commit
f548fc964c
|
@ -248,16 +248,16 @@ class WasmBinaryRenderingVisitor implements WasmExpressionVisitor {
|
|||
case SHL:
|
||||
writer.writeByte(0x74);
|
||||
break;
|
||||
case SHR_UNSIGNED:
|
||||
case SHR_SIGNED:
|
||||
writer.writeByte(0x75);
|
||||
break;
|
||||
case SHR_SIGNED:
|
||||
case SHR_UNSIGNED:
|
||||
writer.writeByte(0x76);
|
||||
break;
|
||||
case ROTR:
|
||||
case ROTL:
|
||||
writer.writeByte(0x77);
|
||||
break;
|
||||
case ROTL:
|
||||
case ROTR:
|
||||
writer.writeByte(0x78);
|
||||
break;
|
||||
case EQ:
|
||||
|
@ -327,16 +327,16 @@ class WasmBinaryRenderingVisitor implements WasmExpressionVisitor {
|
|||
case SHL:
|
||||
writer.writeByte(0x86);
|
||||
break;
|
||||
case SHR_UNSIGNED:
|
||||
case SHR_SIGNED:
|
||||
writer.writeByte(0x87);
|
||||
break;
|
||||
case SHR_SIGNED:
|
||||
case SHR_UNSIGNED:
|
||||
writer.writeByte(0x88);
|
||||
break;
|
||||
case ROTR:
|
||||
case ROTL:
|
||||
writer.writeByte(0x89);
|
||||
break;
|
||||
case ROTL:
|
||||
case ROTR:
|
||||
writer.writeByte(0x8A);
|
||||
break;
|
||||
case EQ:
|
||||
|
@ -722,7 +722,7 @@ class WasmBinaryRenderingVisitor implements WasmExpressionVisitor {
|
|||
writer.writeByte(0x34);
|
||||
break;
|
||||
case UINT32:
|
||||
writer.writeByte(0x25);
|
||||
writer.writeByte(0x35);
|
||||
break;
|
||||
case INT64:
|
||||
writer.writeByte(0x29);
|
||||
|
|
Loading…
Reference in New Issue
Block a user