mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 23:31:32 +00:00
5e9a7ca75a
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14184 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
295 B
LLVM
14 lines
295 B
LLVM
|
|
declare bool %llvm.isunordered(float, float)
|
|
declare bool %llvm.isunordered(double, double)
|
|
|
|
implementation
|
|
|
|
; Test llvm intrinsics
|
|
;
|
|
void %libm() {
|
|
call bool %llvm.isunordered(float 0.0, float 1.0)
|
|
call bool %llvm.isunordered(double 0.0, double 0x7FF8000000000000)
|
|
ret void
|
|
}
|