mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Add comments for what the condition code symbols mean.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
882d62e2db
commit
5e7044bd0e
@ -30,22 +30,22 @@ class formatted_raw_ostream;
|
|||||||
namespace ARMCC {
|
namespace ARMCC {
|
||||||
// The CondCodes constants map directly to the 4-bit encoding of the
|
// The CondCodes constants map directly to the 4-bit encoding of the
|
||||||
// condition field for predicated instructions.
|
// condition field for predicated instructions.
|
||||||
enum CondCodes {
|
enum CondCodes { // Meaning (integer) Meaning (floating-point)
|
||||||
EQ,
|
EQ, // Equal Equal
|
||||||
NE,
|
NE, // Not equal Not equal, or unordered
|
||||||
HS,
|
HS, // Carry set >, ==, or unordered
|
||||||
LO,
|
LO, // Carry clear Less than
|
||||||
MI,
|
MI, // Minus, negative Less than
|
||||||
PL,
|
PL, // Plus, positive or zero >, ==, or unordered
|
||||||
VS,
|
VS, // Overflow Unordered
|
||||||
VC,
|
VC, // No overflow Not unordered
|
||||||
HI,
|
HI, // Unsigned higher Greater than, or unordered
|
||||||
LS,
|
LS, // Unsigned lower or same Less than or equal
|
||||||
GE,
|
GE, // Greater than or equal Greater than or equal
|
||||||
LT,
|
LT, // Less than Less than, or unordered
|
||||||
GT,
|
GT, // Greater than Greater than
|
||||||
LE,
|
LE, // Less than or equal <, ==, or unordered
|
||||||
AL
|
AL // Always (unconditional) Always (unconditional)
|
||||||
};
|
};
|
||||||
|
|
||||||
inline static CondCodes getOppositeCondition(CondCodes CC) {
|
inline static CondCodes getOppositeCondition(CondCodes CC) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user