You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way this is meant to work is that you have a .set eq, 2 directive in your asm file that gets expanded during parsing. If dtk is assuming an implicit prelude then we may want to add that prelude to m2c.
It would currently need to be either manually pasted, yes. I think we can add an arch-specific prelude to deal with this? It would go in defines in parse_file. This approach does mean btw that reloc references to a global named eq gets treated as a literal with the value 2 instead, which is not ideal, but I think in practice the breakage will be non-existent.
We currently have an asm pattern for Fcmpo cror, it looks like this:
but in the asm format of dtk it's like this:
or lt respectively.
What would be the nicest way to make m2c support both formats?
The text was updated successfully, but these errors were encountered: