aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrInfo.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-26 22:37:40 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-26 22:37:40 +0000
commitd06b420c1361dd64cb536d8db0172b610fc40fff (patch)
treef4f161d7b54e78e250c1789525bb7009601f3767 /lib/Target/X86/X86InstrInfo.h
parentee6590ffcce41d2102b4c53f7be4d35cb218284b (diff)
downloadexternal_llvm-d06b420c1361dd64cb536d8db0172b610fc40fff.zip
external_llvm-d06b420c1361dd64cb536d8db0172b610fc40fff.tar.gz
external_llvm-d06b420c1361dd64cb536d8db0172b610fc40fff.tar.bz2
Generate something sensible for an [SU]ADDO op when the overflow/carry flag is
the conditional for the BRCOND statement. For instance, it will generate: addl %eax, %ecx jo LOF instead of addl %eax, %ecx ; About 10 instructions to compare the signs of LHS, RHS, and sum. jl LOF git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrInfo.h')
-rw-r--r--lib/Target/X86/X86InstrInfo.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index cf8be96..a0e0124 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -41,9 +41,11 @@ namespace X86 {
COND_NO = 10,
COND_NP = 11,
COND_NS = 12,
- COND_O = 13,
- COND_P = 14,
- COND_S = 15,
+ COND_NC = 13,
+ COND_O = 14,
+ COND_P = 15,
+ COND_S = 16,
+ COND_C = 17,
// Artificial condition codes. These are used by AnalyzeBranch
// to indicate a block terminated with two conditional branches to