pulp-platform / banshee

Apache License 2.0
16 stars 6 forks source link

Error: Unsupported instruction #20

Open hakukohaku opened 4 months ago

hakukohaku commented 4 months ago

I want to simulate the flashattention_2 in pulp_platform/snitch_cluster/sw/dnn by banshee, but the following error was encountered:

ERROR banshee::tran > Unsupported instruction 0x800027b8: <illegal 0xf60b80d3> ERROR banshee::tran > Unsupported instruction 0x800027c0: <illegal 0xe6010bd3> ERROR banshee::tran > Unsupported instruction 0x800027e0: <illegal 0xf60c01d3> ...... All these instructions are fmv.b.x or fmv.x.b. Does banshee support them? Or how to resolve this error?

SamuelRiedel commented 4 months ago

Banshee currently doesn't support those operations. It only supports the word and half-word versions at the moment: https://github.com/pulp-platform/banshee/blob/main/src/tran.rs#L3254