brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · e0d7415 Raw
48 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-unknown-unknown -mattr=+sse2 | FileCheck %s --check-prefix=X863; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+sse2 | FileCheck %s --check-prefix=X644 5; PR115806define <3 x float> @addf3(<3 x float> %x) {7; X86-LABEL: addf3:8; X86:       # %bb.0: # %entry9; X86-NEXT:    addps {{\.?LCPI[0-9]+_[0-9]+}}, %xmm010; X86-NEXT:    retl11;12; X64-LABEL: addf3:13; X64:       # %bb.0: # %entry14; X64-NEXT:    addps {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm015; X64-NEXT:    retq16entry:17  %add = fadd <3 x float> %x, <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>18  ret <3 x float> %add19}20 21; PR1158022define <4 x float> @cvtf3_f4(<3 x float> %x) {23; X86-LABEL: cvtf3_f4:24; X86:       # %bb.0: # %entry25; X86-NEXT:    retl26;27; X64-LABEL: cvtf3_f4:28; X64:       # %bb.0: # %entry29; X64-NEXT:    retq30entry:31  %extractVec = shufflevector <3 x float> %x, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 undef>32  ret <4 x float> %extractVec33}34 35; PR1158036define <3 x float> @cvtf4_f3(<4 x float> %x) {37; X86-LABEL: cvtf4_f3:38; X86:       # %bb.0: # %entry39; X86-NEXT:    retl40;41; X64-LABEL: cvtf4_f3:42; X64:       # %bb.0: # %entry43; X64-NEXT:    retq44entry:45  %extractVec = shufflevector <4 x float> %x, <4 x float> undef, <3 x i32> <i32 0, i32 1, i32 2>46  ret <3 x float> %extractVec47}48