brintos

brintos / llvm-project-archived public Read only

0
0
Text · 771 B · 57fc266 Raw
23 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx,-slow-unaligned-mem-32 | FileCheck %s --check-prefix=FAST3; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx,+slow-unaligned-mem-32 | FileCheck %s --check-prefix=SLOW4 5define i256 @foo(<8 x i32> %a) {6; FAST-LABEL: foo:7; FAST:       # %bb.0:8; FAST-NEXT:    movq %rdi, %rax9; FAST-NEXT:    vmovups %ymm0, (%rdi)10; FAST-NEXT:    vzeroupper11; FAST-NEXT:    retq12;13; SLOW-LABEL: foo:14; SLOW:       # %bb.0:15; SLOW-NEXT:    movq %rdi, %rax16; SLOW-NEXT:    vextractf128 $1, %ymm0, 16(%rdi)17; SLOW-NEXT:    vmovaps %xmm0, (%rdi)18; SLOW-NEXT:    vzeroupper19; SLOW-NEXT:    retq20  %r = bitcast <8 x i32> %a to i25621  ret i256 %r22}23