unison-code / unison

Unison's source code
http://unison-code.github.io/
Other
104 stars 17 forks source link

Unison fails at "unison model" stage with an error message related to the SEH instruction #57

Closed romits800 closed 3 years ago

romits800 commented 3 years ago

When trying to compile function "lineaer2alaw" from a g711 implementation with the following:

uni import --target=Mips g711.mir -o g711.uni --function=linear2alaw --goal=speed --maxblocksize=25
uni linearize --target=Mips g711.uni -o g711.lssa.uni
uni extend --target=Mips g711.lssa.uni -o g711.ext.uni
uni augment --target=Mips g711.ext.uni -o g711.alt.uni
uni model --target=Mips g711.alt.uni -o g711.json

I get a failure at uni model and an empty g711.json is generated:

$ uni model --target=Mips g711.alt.uni -o g711.json
uni: unmatched: itineraryUsage SEH II_SEH

I attach the .mir file together with the commands I run in a script file run.sh.

seh_bug.tar.gz