vnmakarov/mir

Missing `MVN`/`NOT` instruction

giann opened this issue · 2 comments

giann commented

There's not bitwise MIR_NOT instruction

giann commented

Maybe it's intended?
I guess i can do: MIR_XOR value, 0xffff

yeah you can compliment it with a XOR with FFs (I recommend using ~0 to not make mistakes). Even if intended I personally think it would be better to have it for completeness (even if the code gen can handle it)