llvm.org GIT mirror llvm / 946a811
PPC rotate instructions don't have unmodeled side effcts git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178982 91177308-0d34-0410-b5e6-96231b3b80d8 Hal Finkel 7 years ago
2 changed file(s) with 6 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
494494 [(set i64:$rT, (mul i64:$rA, i64:$rB))]>, isPPC64;
495495
496496
497 let neverHasSideEffects = 1 in {
497498 let isCommutable = 1 in {
498499 def RLDIMI : MDForm_1<30, 3,
499500 (outs G8RC:$rA), (ins G8RC:$rSi, G8RC:$rS, u6imm:$SH, u6imm:$MB),
521522 "rlwinm $rA, $rS, $SH, $MB, $ME", IntGeneral,
522523 []>;
523524
524 let isSelect = 1, neverHasSideEffects = 1 in
525 let isSelect = 1 in
525526 def ISEL8 : AForm_4<31, 15,
526527 (outs G8RC:$rT), (ins G8RC_NOX0:$rA, G8RC:$rB, CRBITRC:$cond),
527528 "isel $rT, $rA, $rB, $cond", IntGeneral,
528529 []>;
530 } // neverHasSideEffects = 1
529531 } // End FXU Operations.
530532
531533
15531553 }
15541554 }
15551555
1556 let neverHasSideEffects = 1 in {
15561557 let PPC970_Unit = 1 in { // FXU Operations.
1557 let isSelect = 1, neverHasSideEffects = 1 in
1558 let isSelect = 1 in
15581559 def ISEL : AForm_4<31, 15,
15591560 (outs GPRC:$rT), (ins GPRC_NOR0:$rA, GPRC:$rB, CRBITRC:$cond),
15601561 "isel $rT, $rA, $rB, $cond", IntGeneral,
15851586 "rlwnm $rA, $rS, $rB, $MB, $ME", IntGeneral,
15861587 []>;
15871588 }
1588
1589 } // neverHasSideEffects = 1
15891590
15901591 //===----------------------------------------------------------------------===//
15911592 // PowerPC Instruction Patterns