[llvm] r241900 - Add missing builtins to the PPC back end for ABI compliance (vol. 3)

Hal Finkel hfinkel at anl.gov
Fri Jul 10 06:48:46 PDT 2015


----- Original Message -----
> From: "Nemanja Ivanovic" <nemanja.i.ibm at gmail.com>
> To: llvm-commits at cs.uiuc.edu
> Sent: Friday, July 10, 2015 7:38:09 AM
> Subject: [llvm] r241900 - Add missing builtins to the PPC back end for ABI	compliance (vol. 3)
> 
> Author: nemanjai
> Date: Fri Jul 10 07:38:08 2015
> New Revision: 241900
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=241900&view=rev
> Log:
> Add missing builtins to the PPC back end for ABI compliance (vol. 3)
> 
> This patch corresponds to review:
> http://reviews.llvm.org/D10973
> 
> Back end portion of the third round of additions to altivec.h.
> 
> Modified:
>     llvm/trunk/include/llvm/IR/IntrinsicsPowerPC.td
>     llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td
> 
> Modified: llvm/trunk/include/llvm/IR/IntrinsicsPowerPC.td
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/IntrinsicsPowerPC.td?rev=241900&r1=241899&r2=241900&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/IR/IntrinsicsPowerPC.td (original)
> +++ llvm/trunk/include/llvm/IR/IntrinsicsPowerPC.td Fri Jul 10
> 07:38:08 2015
> @@ -719,6 +719,9 @@ def int_ppc_vsx_xvcmpgtdp :
>  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]>;
>  }
>  
>  //===----------------------------------------------------------------------===//
> 
> Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td?rev=241900&r1=241899&r2=241900&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td (original)
> +++ llvm/trunk/lib/Target/PowerPC/PPCInstrVSX.td Fri Jul 10 07:38:08
> 2015
> @@ -1018,6 +1018,8 @@ let AddedComplexity = 400 in { // Prefer
>                            [(set v4i32:$XT, (vnot_ppc (and v4i32:$XA,
>                                                      v4i32:$XB)))]>;
>    } // isCommutable

Please add a blank line here.

 -Hal

> +  def : Pat<(int_ppc_vsx_xxleqv v4i32:$A, v4i32:$B),
> +            (XXLEQV $A, $B)>;
>  
>    def XXLORC : XX3Form<60, 170,
>                         (outs vsrc:$XT), (ins vsrc:$XA, vsrc:$XB),
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-commits mailing list