Would you like signs with those chars?
Would you like signs with those chars?
Posted Oct 25, 2022 14:00 UTC (Tue) by pbonzini (subscriber, #60935)In reply to: Would you like signs with those chars? by dskoll
Parent article: Would you like signs with those chars?
> I assume the same thing holds?
Yes, JL/JG/JLE/JGE are for signed comparisons while JB/JA/JBE/JAE are for unsigned comparisons.
Other architectures use LT/GT/LE/GE for signed and LTU/GTU/LEU/GEU for unsigned.
POWER is special in that it has separate "compare signed" and "compare unsigned" instructions, and the branches are just less than/equal/greater than.
