2014-02-08 04:29:40 +08:00
|
|
|
; XFAIL: *
|
2014-04-30 07:12:53 +08:00
|
|
|
; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI
|
2014-02-08 04:29:40 +08:00
|
|
|
|
|
|
|
; SI-LABEL: @global_store_v3i64:
|
|
|
|
; SI: BUFFER_STORE_DWORDX4
|
|
|
|
; SI: BUFFER_STORE_DWORDX4
|
|
|
|
define void @global_store_v3i64(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
|
|
|
|
store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 32
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; SI-LABEL: @global_store_v3i64_unaligned:
|
|
|
|
define void @global_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
|
|
|
|
store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; SI-LABEL: @local_store_v3i64:
|
|
|
|
define void @local_store_v3i64(<3 x i64> addrspace(3)* %out, <3 x i64> %x) {
|
|
|
|
store <3 x i64> %x, <3 x i64> addrspace(3)* %out, align 32
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; SI-LABEL: @local_store_v3i64_unaligned:
|
|
|
|
define void @local_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
|
|
|
|
store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
|
|
|
|
ret void
|
|
|
|
}
|