aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/qpx-s-store.ll
blob: 0bd6201f767c1fea1f68fa09d7c8bf55bcb414a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
; RUN: llc < %s -march=ppc64 -mcpu=a2q | FileCheck %s
target triple = "powerpc64-bgq-linux"

define void @foo(<4 x float> %v, <4 x float>* %p) {
entry:
  store <4 x float> %v, <4 x float>* %p, align 4
  ret void
}

; CHECK: @foo
; CHECK: stfs
; CHECK: stfs
; CHECK: stfs
; CHECK: stfs
; CHECK: blr

define void @bar(<4 x float> %v, <4 x float>* %p) {
entry:
  store <4 x float> %v, <4 x float>* %p, align 16
  ret void
}

; CHECK: @bar
; CHECK: qvstfsx