1*8265e8ffSNemanja Ivanovic; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2*8265e8ffSNemanja Ivanovic; RUN: llc -mcpu=pwr9 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr \ 3*8265e8ffSNemanja Ivanovic; RUN: -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s 4*8265e8ffSNemanja Ivanovic; RUN: llc -mcpu=pwr7 -ppc-asm-full-reg-names -ppc-vsr-nums-as-vr \ 5*8265e8ffSNemanja Ivanovic; RUN: -mtriple=powerpc64-unknown-unknown < %s | FileCheck %s 6*8265e8ffSNemanja Ivanovicdefine dso_local <2 x double> @test(<2 x double> %a, <2 x double> %b) local_unnamed_addr { 7*8265e8ffSNemanja Ivanovic; CHECK-LABEL: test: 8*8265e8ffSNemanja Ivanovic; CHECK: # %bb.0: # %entry 9*8265e8ffSNemanja Ivanovic; CHECK-NEXT: xvcpsgndp v2, v3, v2 10*8265e8ffSNemanja Ivanovic; CHECK-NEXT: blr 11*8265e8ffSNemanja Ivanovicentry: 12*8265e8ffSNemanja Ivanovic %0 = tail call <2 x double> @llvm.copysign.v2f64(<2 x double> %a, <2 x double> %b) 13*8265e8ffSNemanja Ivanovic ret <2 x double> %0 14*8265e8ffSNemanja Ivanovic} 15*8265e8ffSNemanja Ivanovic 16*8265e8ffSNemanja Ivanovicdefine dso_local <4 x float> @test2(<4 x float> %a, <4 x float> %b) local_unnamed_addr { 17*8265e8ffSNemanja Ivanovic; CHECK-LABEL: test2: 18*8265e8ffSNemanja Ivanovic; CHECK: # %bb.0: # %entry 19*8265e8ffSNemanja Ivanovic; CHECK-NEXT: xvcpsgnsp v2, v3, v2 20*8265e8ffSNemanja Ivanovic; CHECK-NEXT: blr 21*8265e8ffSNemanja Ivanovicentry: 22*8265e8ffSNemanja Ivanovic %0 = tail call <4 x float> @llvm.copysign.v4f32(<4 x float> %a, <4 x float> %b) 23*8265e8ffSNemanja Ivanovic ret <4 x float> %0 24*8265e8ffSNemanja Ivanovic} 25*8265e8ffSNemanja Ivanovic 26*8265e8ffSNemanja Ivanovicdeclare <2 x double> @llvm.copysign.v2f64(<2 x double>, <2 x double>) 27*8265e8ffSNemanja Ivanovicdeclare <4 x float> @llvm.copysign.v4f32(<4 x float>, <4 x float>) 28