Disable floating-point test for ARM soft-float

From: Matteo Cypriani <mcy@lm7.fr>
    Date: Fri, 5 Sep 2014 23:22:56 -0400
    Subject: Disable floating-point test for ARM soft-float

    tcc is not yet capable of doing softfloat floating-point operations on
    ARM, therefore we disable this test for these platforms. Note that tcc
    displays a warning to warn ARM users about this limitation
    (debian)
master
seyko 2015-03-03 17:28:13 +03:00
parent 774f0611cc
commit 43e4a406b4
1 changed files with 2 additions and 0 deletions

View File

@ -1760,6 +1760,7 @@ double ftab1[3] = { 1.2, 3.4, -5.6 };
void float_test(void)
{
#if !defined(__arm__) || defined(__ARM_PCS_VFP)
float fa, fb;
double da, db;
int a;
@ -1785,6 +1786,7 @@ void float_test(void)
b = 4000000000;
db = b;
printf("db = %f\n", db);
#endif
}
int fib(int n)