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)
This commit is contained in:
parent
774f0611cc
commit
43e4a406b4
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue