Home | History | Annotate | Download | only in R600
      1 ; XFAIL: *
      2 ; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
      3 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
      4 
      5 ; SI-LABEL: {{^}}global_store_v3i64:
      6 ; SI: buffer_store_dwordx4
      7 ; SI: buffer_store_dwordx4
      8 define void @global_store_v3i64(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
      9   store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 32
     10   ret void
     11 }
     12 
     13 ; SI-LABEL: {{^}}global_store_v3i64_unaligned:
     14 define void @global_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
     15   store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
     16   ret void
     17 }
     18 
     19 ; SI-LABEL: {{^}}local_store_v3i64:
     20 define void @local_store_v3i64(<3 x i64> addrspace(3)* %out, <3 x i64> %x) {
     21   store <3 x i64> %x, <3 x i64> addrspace(3)* %out, align 32
     22   ret void
     23 }
     24 
     25 ; SI-LABEL: {{^}}local_store_v3i64_unaligned:
     26 define void @local_store_v3i64_unaligned(<3 x i64> addrspace(1)* %out, <3 x i64> %x) {
     27   store <3 x i64> %x, <3 x i64> addrspace(1)* %out, align 1
     28   ret void
     29 }
     30