diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-04-04 03:08:00 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-04-04 03:08:00 +0000 |
commit | 8cfaffaaded057aa2ff7be9443797f2c9f47224a (patch) | |
tree | 7d5e0cbd3c4872d1d60b0e2da6c428d0c5ff1795 /llvm/lib/Target/Sparc/SparcISelLowering.h | |
parent | 584f7dcc0e5b273d84e173794a4f6e208f2ed11c (diff) | |
download | bcm5719-llvm-8cfaffaaded057aa2ff7be9443797f2c9f47224a.tar.gz bcm5719-llvm-8cfaffaaded057aa2ff7be9443797f2c9f47224a.zip |
Add SPARC v9 support for select on 64-bit compares.
This requires v9 cmov instructions using the %xcc flags instead of the
%icc flags.
Still missing:
- Select floats on %xcc flags.
- Select i64 on %fcc flags.
llvm-svn: 178737
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.h')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcISelLowering.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.h b/llvm/lib/Target/Sparc/SparcISelLowering.h index 274673cd4da..aa2ef711a08 100644 --- a/llvm/lib/Target/Sparc/SparcISelLowering.h +++ b/llvm/lib/Target/Sparc/SparcISelLowering.h @@ -30,6 +30,7 @@ namespace llvm { BRXCC, // Branch to dest on xcc condition (64-bit only). BRFCC, // Branch to dest on fcc condition SELECT_ICC, // Select between two values using the current ICC flags. + SELECT_XCC, // Select between two values using the current XCC flags. SELECT_FCC, // Select between two values using the current FCC flags. Hi, Lo, // Hi/Lo operations, typically on a global address. |