summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/qpx-s-store.ll
blob: 81cff7b6457f14d1358a53093377ef7b373168aa (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 -verify-machineinstrs < %s -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