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