diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-26 10:06:40 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-26 10:06:40 +0000 |
| commit | 6961fc76bbbde5a113dbc61bc230b7a8b265d66f (patch) | |
| tree | 7f65411d406a39e567d16f0f57a833c69429c599 /llvm/lib/Target/PowerPC/PPCISelLowering.h | |
| parent | ed6184aef292f7de61441336a1a5ef6c0e6b37f4 (diff) | |
| download | bcm5719-llvm-6961fc76bbbde5a113dbc61bc230b7a8b265d66f.tar.gz bcm5719-llvm-6961fc76bbbde5a113dbc61bc230b7a8b265d66f.zip | |
Codegen vector predicate compares.
llvm-svn: 27151
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h index e131217f94e..cad4ea84d96 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.h +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h @@ -88,6 +88,17 @@ namespace llvm { /// Return with a flag operand, matched by 'blr' RET_FLAG, + + /// R32 = MFCR(CRREG, INFLAG) - Represents the MFCR/MFOCRF instructions. + /// This copies the bits corresponding to the specified CRREG into the + /// resultant GPR. Bits corresponding to other CR regs are undefined. + MFCR, + + /// RESVEC, OUTFLAG = VCMPo(LHS, RHS, OPC) - Represents one of the + /// altivec VCMP*o instructions. For lack of better number, we use the + /// opcode number encoding for the OPC field to identify the compare. For + /// example, 838 is VCMPGTSH. + VCMPo }; } |

