summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/default-fp-mode.ll
blob: 214b2c20369c3294d6f5743e96a683c50ba9de5a (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc -march=r600 -mcpu=SI < %s | FileCheck -check-prefix=SI %s

; SI-LABEL: @test_kernel
; SI: FloatMode: 240
; SI: IeeeMode: 0
define void @test_kernel(float addrspace(1)* %out0, double addrspace(1)* %out1) nounwind {
  store float 0.0, float addrspace(1)* %out0
  store double 0.0, double addrspace(1)* %out1
  ret void
}