-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
When trying to compile pdfcpu from webassembly to Java, I get the following error (I tried the release for Version 0.8.0):
asmble compile ./pdfcpu.wasm -format wasm PdfCpu -log info
[ERROR] Error in command 'compile': No opcode found: 252
java.lang.IllegalStateException: No opcode found: 252
at asmble.ast.Node$InstrOp$Companion.op(Node.kt:456)
at asmble.io.BinaryToAst.toInstr(BinaryToAst.kt:119)
at asmble.io.BinaryToAst.toInstrs(BinaryToAst.kt:117)
at asmble.io.BinaryToAst.toFunc(BinaryToAst.kt:78)
at asmble.io.BinaryToAst.toModule(BinaryToAst.kt:209)
at asmble.cli.Translate.inToAst(Translate.kt:70)
at asmble.cli.Compile.run(Compile.kt:54)
at asmble.cli.Compile.run(Compile.kt:10)
at asmble.cli.Command.runWithArgs(Command.kt:17)
at asmble.cli.MainKt.main(Main.kt:31)
According to https://pengowray.github.io/wasm-ops/ this means that FC extensions (Multibyte instructions beginning with 0xFC.) are used.
Is it feasible to add support for this in asmble?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels