1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx,-slow-unaligned-mem-32 | FileCheck %s --check-prefix=FAST 3 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx,+slow-unaligned-mem-32 | FileCheck %s --check-prefix=SLOW 4 5 define i256 @foo(<8 x i32> %a) { 6 ; FAST-LABEL: foo: 7 ; FAST: # %bb.0: 8 ; FAST-NEXT: vmovups %ymm0, (%rdi) 9 ; FAST-NEXT: movq %rdi, %rax 10 ; FAST-NEXT: vzeroupper 11 ; FAST-NEXT: retq 12 ; 13 ; SLOW-LABEL: foo: 14 ; SLOW: # %bb.0: 15 ; SLOW-NEXT: vextractf128 $1, %ymm0, 16(%rdi) 16 ; SLOW-NEXT: vmovups %xmm0, (%rdi) 17 ; SLOW-NEXT: movq %rdi, %rax 18 ; SLOW-NEXT: vzeroupper 19 ; SLOW-NEXT: retq 20 %r = bitcast <8 x i32> %a to i256 21 ret i256 %r 22 } 23