[PATCH] D10973: Add missing builtins to the PPC back end for ABI compliance (vol. 3)
Nemanja Ivanovic
nemanja.i.ibm at gmail.com
Mon Jul 6 14:00:01 PDT 2015
nemanjai added reviewers: wschmidt, kbarton, hfinkel, echristo, seurer.
nemanjai added a subscriber: llvm-commits.
This patch corresponds to review:
http://reviews.llvm.org/D10972
Back end portion of the third round of additions to altivec.h.
Repository:
rL LLVM
http://reviews.llvm.org/D10973
Files:
include/llvm/IR/IntrinsicsPowerPC.td
lib/Target/PowerPC/PPCInstrVSX.td
Index: lib/Target/PowerPC/PPCInstrVSX.td
===================================================================
--- lib/Target/PowerPC/PPCInstrVSX.td
+++ lib/Target/PowerPC/PPCInstrVSX.td
@@ -1172,6 +1172,8 @@
RegConstraint<"$XTi = $XT">, NoEncode<"$XTi">,
AltVSXFMARel;
}
+ def : Pat<(int_ppc_vsx_xxleqv v4i32:$A, v4i32:$B),
+ (XXLEQV $A, $B)>;
} // AddedComplexity = 400
} // HasP8Vector
Index: include/llvm/IR/IntrinsicsPowerPC.td
===================================================================
--- include/llvm/IR/IntrinsicsPowerPC.td
+++ include/llvm/IR/IntrinsicsPowerPC.td
@@ -719,6 +719,9 @@
def int_ppc_vsx_xvcmpgtsp :
PowerPC_VSX_Intrinsic<"xvcmpgtsp", [llvm_v4i32_ty],
[llvm_v4f32_ty, llvm_v4f32_ty], [IntrNoMem]>;
+def int_ppc_vsx_xxleqv :
+ PowerPC_VSX_Intrinsic<"xxleqv", [llvm_v4i32_ty],
+ [llvm_v4i32_ty, llvm_v4i32_ty], [IntrNoMem]>;
}
//===----------------------------------------------------------------------===//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10973.29125.patch
Type: text/x-patch
Size: 1081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150706/4644cec4/attachment.bin>
More information about the llvm-commits
mailing list