On Mon, Apr 06, 2020 at 12:19:42PM +0100, Richard Sandiford wrote: > The reason I'm not keen on using special modes for this case is that > they'd describe one way in which the result can be used rather than > describing what the instruction actually does. The instruction really > does set all four flags to useful values. The "problem" is that they're > not the values associated with a compare between two values, so representing > them that way will always lose information.
CC modes describe how the flags are set, not how the flags are used. You cannot easily describe the V bit setting with a compare (it needs a mode bigger than the register), is that what you mean? Segher