mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-26 08:00:09 +08:00
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
@ -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 New Issue
Block a user