mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
c0c186d140
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24243 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
524 B
Plaintext
23 lines
524 B
Plaintext
// RUN: %llvmgcc -xc -std=c99 %s -c -o - | llvm-dis | grep -v llvm.isunordered | not grep call
|
|
// XFAIL: sparc|ia64
|
|
|
|
#include <math.h>
|
|
|
|
_Bool A, B, C, D, E, F;
|
|
void TestF(float X, float Y) {
|
|
A = isgreater(X, Y);
|
|
B = isgreaterequal(X, Y);
|
|
C = isless(X, Y);
|
|
D = islessequal(X, Y);
|
|
E = islessgreater(X, Y);
|
|
F = isunordered(X, Y);
|
|
}
|
|
void TestD(double X, double Y) {
|
|
A = isgreater(X, Y);
|
|
B = isgreaterequal(X, Y);
|
|
C = isless(X, Y);
|
|
D = islessequal(X, Y);
|
|
E = islessgreater(X, Y);
|
|
F = isunordered(X, Y);
|
|
}
|