twiggy icon indicating copy to clipboard operation
twiggy copied to clipboard

SIMD code, lane index out of range error. Not sure if this is a bug in Twiggy or a feature request for more verbose output

Open DVLP opened this issue 3 years ago • 1 comments

My piece of code is compiled with Emscripten. It contains SIMD instructions. When trying to run any twiggy function I'm getting an error. I don't know if this is an error in Twiggy or is it pointing to a valid error. All WABT tools work with this wasm file

error: WASM error: lane index out of range (at offset 10491) caused by: lane index out of range (at offset 10491)

twiggy version: twiggy-opt 0.7.0

👟 Steps to Reproduce

  • Run any command with the file attached
  • twiggy top -n 25 test_case.wasm

😲 Actual Behavior

Outputs error: WASM error: lane index out of range (at offset 10491) caused by: lane index out of range (at offset 10491)

🤔 Expected Behavior

No idea what should happen because I never used Twiggy before, perhaps should show some more verbose output with a few lines of context where the error occurred and in what symbol. Unless this is a bug and it should just work. test_case.zip

DVLP avatar Mar 20 '22 17:03 DVLP

Thanks for the report, it sounds like a bug.

AlexEne avatar Mar 21 '22 11:03 AlexEne