2013-04-05 23:31:51 +00:00
|
|
|
; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck --check-prefix=EG-CHECK %s
|
2013-06-14 22:12:24 +00:00
|
|
|
; RUN: llc < %s -march=r600 -mcpu=cayman | FileCheck --check-prefix=CM-CHECK %s
|
2013-04-05 23:31:51 +00:00
|
|
|
; RUN: llc < %s -march=r600 -mcpu=verde | FileCheck --check-prefix=SI-CHECK %s
|
|
|
|
|
2013-04-19 02:10:53 +00:00
|
|
|
; floating-point store
|
|
|
|
; EG-CHECK: @store_f32
|
2013-04-05 23:31:51 +00:00
|
|
|
; EG-CHECK: RAT_WRITE_CACHELESS_32_eg T{{[0-9]+\.X, T[0-9]+\.X}}, 1
|
2013-06-14 22:12:24 +00:00
|
|
|
; CM-CHECK: @store_f32
|
|
|
|
; CM-CHECK: EXPORT_RAT_INST_STORE_DWORD T{{[0-9]+\.X, T[0-9]+\.X}}
|
2013-04-19 02:10:53 +00:00
|
|
|
; SI-CHECK: @store_f32
|
2013-04-05 23:31:51 +00:00
|
|
|
; SI-CHECK: BUFFER_STORE_DWORD
|
|
|
|
|
2013-04-19 02:10:53 +00:00
|
|
|
define void @store_f32(float addrspace(1)* %out, float %in) {
|
2013-04-05 23:31:51 +00:00
|
|
|
store float %in, float addrspace(1)* %out
|
|
|
|
ret void
|
|
|
|
}
|