mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
The default rounding mode to initialize the mode register needs to be reported to the runtime. Fill in other bits a kernel may be interested in setting for future use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211791 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
330 B
LLVM
11 lines
330 B
LLVM
; 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
|
|
}
|