brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 0182391 Raw
33 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i686-apple-darwin9.2.2 -mattr=+sse2,-sse4.1 | FileCheck %s --check-prefix=X863; RUN: llc < %s -mtriple=x86_64-apple-darwin9.2.2 -mattr=+sse2,-sse4.1 | FileCheck %s --check-prefix=X644 5define <8 x float> @f(<8 x float> %a, i32 %b) nounwind  {6; X86-LABEL: f:7; X86:       ## %bb.0: ## %entry8; X86-NEXT:    subl $44, %esp9; X86-NEXT:    movl {{[0-9]+}}(%esp), %eax10; X86-NEXT:    andl $7, %eax11; X86-NEXT:    movaps %xmm1, {{[0-9]+}}(%esp)12; X86-NEXT:    movaps %xmm0, (%esp)13; X86-NEXT:    movl $1084227584, (%esp,%eax,4) ## imm = 0x40A0000014; X86-NEXT:    movaps (%esp), %xmm015; X86-NEXT:    movaps {{[0-9]+}}(%esp), %xmm116; X86-NEXT:    addl $44, %esp17; X86-NEXT:    retl18;19; X64-LABEL: f:20; X64:       ## %bb.0: ## %entry21; X64-NEXT:    ## kill: def $edi killed $edi def $rdi22; X64-NEXT:    movaps %xmm1, -{{[0-9]+}}(%rsp)23; X64-NEXT:    movaps %xmm0, -{{[0-9]+}}(%rsp)24; X64-NEXT:    andl $7, %edi25; X64-NEXT:    movl $1084227584, -40(%rsp,%rdi,4) ## imm = 0x40A0000026; X64-NEXT:    movaps -{{[0-9]+}}(%rsp), %xmm027; X64-NEXT:    movaps -{{[0-9]+}}(%rsp), %xmm128; X64-NEXT:    retq29entry:30  %vecins = insertelement <8 x float> %a, float 5.000000e+00, i32 %b31  ret <8 x float> %vecins32}33