diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-07-21 00:34:19 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-07-21 00:34:19 +0000 |
commit | 37e7c75b491e50df2a7f3e9f5d872a48d85239a0 (patch) | |
tree | 0a3938c96b46a1c4b638963673c52135fd80cb3c /lib/Target/PowerPC | |
parent | 2c6a6420d071315104cf3858ce5409b0a45e974b (diff) | |
download | external_llvm-37e7c75b491e50df2a7f3e9f5d872a48d85239a0.zip external_llvm-37e7c75b491e50df2a7f3e9f5d872a48d85239a0.tar.gz external_llvm-37e7c75b491e50df2a7f3e9f5d872a48d85239a0.tar.bz2 |
No more noResults.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r-- | lib/Target/PowerPC/PPCInstr64Bit.td | 8 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCInstrAltivec.td | 4 | ||||
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.td | 13 |
3 files changed, 11 insertions, 14 deletions
diff --git a/lib/Target/PowerPC/PPCInstr64Bit.td b/lib/Target/PowerPC/PPCInstr64Bit.td index 2b37f88..098b1a0 100644 --- a/lib/Target/PowerPC/PPCInstr64Bit.td +++ b/lib/Target/PowerPC/PPCInstr64Bit.td @@ -70,7 +70,7 @@ let Defs = [LR8] in PPC970_Unit_BRU; // Macho ABI Calls. -let isCall = 1, noResults = 1, PPC970_Unit = 7, +let isCall = 1, PPC970_Unit = 7, // All calls clobber the PPC64 non-callee saved registers. Defs = [X0,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12, F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,F13, @@ -89,7 +89,7 @@ let isCall = 1, noResults = 1, PPC970_Unit = 7, // ELF 64 ABI Calls = Macho ABI Calls // Used to define BL8_ELF and BLA8_ELF -let isCall = 1, noResults = 1, PPC970_Unit = 7, +let isCall = 1, PPC970_Unit = 7, // All calls clobber the PPC64 non-callee saved registers. Defs = [X0,X2,X3,X4,X5,X6,X7,X8,X9,X10,X11,X12, F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,F13, @@ -438,7 +438,7 @@ def LDU : DSForm_1<58, 1, (outs G8RC:$rD), (ins ptr_rc:$ea_result, memrix:$addr } -let isStore = 1, noResults = 1, PPC970_Unit = 2 in { +let isStore = 1, PPC970_Unit = 2 in { // Truncating stores. def STB8 : DForm_1<38, (outs), (ins G8RC:$rS, memri:$src), "stb $rS, $src", LdStGeneral, @@ -505,7 +505,7 @@ def STDU : DSForm_1<62, 1, (outs ptr_rc:$ea_res), (ins G8RC:$rS, } -let isStore = 1, noResults = 1, PPC970_Unit = 2 in { +let isStore = 1, PPC970_Unit = 2 in { def STDUX : XForm_8<31, 181, (outs), (ins G8RC:$rS, memrr:$dst), "stdux $rS, $dst", LdStSTD, diff --git a/lib/Target/PowerPC/PPCInstrAltivec.td b/lib/Target/PowerPC/PPCInstrAltivec.td index 47a470c..572be98 100644 --- a/lib/Target/PowerPC/PPCInstrAltivec.td +++ b/lib/Target/PowerPC/PPCInstrAltivec.td @@ -160,14 +160,12 @@ class VX2_Int<bits<11> xo, string opc, Intrinsic IntID> def IMPLICIT_DEF_VRRC : Pseudo<(outs VRRC:$rD), (ins),"; IMPLICIT_DEF_VRRC $rD", [(set VRRC:$rD, (v4i32 (undef)))]>; -let noResults = 1 in { def DSS : DSS_Form<822, (outs), (ins u5imm:$A, u5imm:$STRM,u5imm:$ZERO1,u5imm:$ZERO2), "dss $STRM, $A", LdStGeneral /*FIXME*/, []>; def DST : DSS_Form<342, (outs), (ins u5imm:$T, u5imm:$STRM, GPRC:$rA, GPRC:$rB), "dst $rA, $rB, $STRM, $T", LdStGeneral /*FIXME*/, []>; def DSTST : DSS_Form<374, (outs), (ins u5imm:$T, u5imm:$STRM, GPRC:$rA, GPRC:$rB), "dstst $rA, $rB, $STRM, $T", LdStGeneral /*FIXME*/, []>; -} def MFVSCR : VXForm_4<1540, (outs VRRC:$vD), (ins), "mfvcr $vD", LdStGeneral, @@ -203,7 +201,7 @@ def LVSR : XForm_1<31, 38, (outs VRRC:$vD), (ins memrr:$src), [(set VRRC:$vD, (int_ppc_altivec_lvsr xoaddr:$src))]>, PPC970_Unit_LSU; -let isStore = 1, noResults = 1, PPC970_Unit = 2 in { // Stores. +let isStore = 1, PPC970_Unit = 2 in { // Stores. def STVEBX: XForm_8<31, 135, (outs), (ins VRRC:$rS, memrr:$dst), "stvebx $rS, $dst", LdStGeneral, [(int_ppc_altivec_stvebx VRRC:$rS, xoaddr:$dst)]>; diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index af1e7af..11d2588 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -345,7 +345,7 @@ let usesCustomDAGSchedInserter = 1, // Expanded by the scheduler. []>; } -let isTerminator = 1, isBarrier = 1, noResults = 1, PPC970_Unit = 7 in { +let isTerminator = 1, isBarrier = 1, PPC970_Unit = 7 in { let isReturn = 1 in def BLR : XLForm_2_br<19, 16, 0, (outs), (ins pred:$p), "b${p:cc}lr ${p:reg}", BrB, @@ -359,8 +359,7 @@ let Defs = [LR] in def MovePCtoLR : Pseudo<(outs), (ins piclabel:$label), "bl $label", []>, PPC970_Unit_BRU; -let isBranch = 1, isTerminator = 1, hasCtrlDep = 1, - noResults = 1, PPC970_Unit = 7 in { +let isBranch = 1, isTerminator = 1, hasCtrlDep = 1, PPC970_Unit = 7 in { let isBarrier = 1 in { def B : IForm<18, 0, 0, (outs), (ins target:$dst), "b $dst", BrB, @@ -376,7 +375,7 @@ let isBranch = 1, isTerminator = 1, hasCtrlDep = 1, } // Macho ABI Calls. -let isCall = 1, noResults = 1, PPC970_Unit = 7, +let isCall = 1, PPC970_Unit = 7, // All calls clobber the non-callee saved registers... Defs = [R0,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12, F0,F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11,F12,F13, @@ -397,7 +396,7 @@ let isCall = 1, noResults = 1, PPC970_Unit = 7, } // ELF ABI Calls. -let isCall = 1, noResults = 1, PPC970_Unit = 7, +let isCall = 1, PPC970_Unit = 7, // All calls clobber the non-callee saved registers... Defs = [R0,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12, F0,F1,F2,F3,F4,F5,F6,F7,F8, @@ -542,7 +541,7 @@ def LFDX : XForm_25<31, 599, (outs F8RC:$frD), (ins memrr:$src), // // Unindexed (r+i) Stores. -let isStore = 1, noResults = 1, PPC970_Unit = 2 in { +let isStore = 1, PPC970_Unit = 2 in { def STB : DForm_1<38, (outs), (ins GPRC:$rS, memri:$src), "stb $rS, $src", LdStGeneral, [(truncstorei8 GPRC:$rS, iaddr:$src)]>; @@ -599,7 +598,7 @@ def STFDU : DForm_1<37, (outs ptr_rc:$ea_res), (ins F8RC:$rS, // Indexed (r+r) Stores. // -let isStore = 1, noResults = 1, PPC970_Unit = 2 in { +let isStore = 1, PPC970_Unit = 2 in { def STBX : XForm_8<31, 215, (outs), (ins GPRC:$rS, memrr:$dst), "stbx $rS, $dst", LdStGeneral, [(truncstorei8 GPRC:$rS, xaddr:$dst)]>, |