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