summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-08-24 01:11:30 +0000
committerBill Wendling <isanbard@gmail.com>2010-08-24 01:11:30 +0000
commit2c64ba63a1de70e868be24c24076bcd8f85b58fb (patch)
tree8c2f8d3c005986a768139a0f55899c494a21254c /llvm/lib/Target
parentf02e5f3a2f1ee20d70eb52488d2d5aea497ceefc (diff)
downloadbcm5719-llvm-2c64ba63a1de70e868be24c24076bcd8f85b58fb.tar.gz
bcm5719-llvm-2c64ba63a1de70e868be24c24076bcd8f85b58fb.zip
Add comments for what the condition code symbols mean.
llvm-svn: 111889
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARM.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/llvm/lib/Target/ARM/ARM.h b/llvm/lib/Target/ARM/ARM.h
index e76791921ee..271ca44c2b6 100644
--- a/llvm/lib/Target/ARM/ARM.h
+++ b/llvm/lib/Target/ARM/ARM.h
@@ -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) {
OpenPOWER on IntegriCloud