[Bug 1740] Change PowerPC multi-libs for e200 and e500 cores
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Wed Feb 23 09:11:10 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1740
--- Comment #12 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-02-23 03:11:08 CST ---
(In reply to comment #10)
> (In reply to comment #9)
> > Created an attachment (id=1111)
--> (https://www.rtems.org/bugzilla/attachment.cgi?id=1111) [details]
[details]
> > Patch against GCC 4.5.2.
>
> > (1) -mcpu=8540 -msoft-float
> > (2) -mcpu=8540 -mspe -mabi=spe -mfloat-gprs=single
> > (3) -mcpu=8540 -mspe -mabi=spe -mfloat-gprs=double
>
> > The paranoia test program works with all three variants. Only (1) is full IEEE
> > 754 conform,
>
> I guess you are not aware what you are saying here?
Yes, I know what I am saying here. The embedded floating point unit requires
software support for full IEEE 754 conformance (see also Signal Processing
Engine (SPE) Programming Environments Manual: 3.3.1.4
IEEE Std 754™ Compliance).
The test results look not that bad, even without this software support and
options (3):
*** COMPLEX MATH TEST ***
cabs : 1.414214
-cacos : 0.904557 0.000000i
+cacos : 0.904557 -1.061275i
cacosh : 1.061275 0.904557i
carg : 0.785398
casin : 0.666239 1.061275i
*** DOUBLE MATH TEST ***
acos : 1.570796
-acosh :
17976931348623157081452742373170435679807056752584499659891747680315726078002853876058955863276687817154045895351438246423432132688946418276846754670
+acosh : -nan
asin : 1.570796
asinh : 0.881374
atan : 0.665774
atan2 : 0.785398
-atanh :
17976931348623157081452742373170435679807056752584499659891747680315726078002853876058955863276687817154045895351438246423432132688946418276846754670
+atanh : inf
cbrt : 3.000000
ceil : 4.000000
copysign : -3.500000
*** FLOAT MATH TEST ***
acosf : 1.570796
-acoshf : 340282346638528859811704183484516925440.000000
+acoshf : -nan
asinf : 1.570796
asinhf : 0.881374
atanf : 0.665774
atan2f : 0.785398
-atanhf : 340282346638528859811704183484516925440.000000
+atanhf : inf
cbrtf : 3.000000
ceilf : 4.000000
copysignf : -3.500000
@@ -50,14 +50,14 @@
logf : 3.737670
log10f : 1.623249
log1pf : 3.761200
-log2f : 5.392318
+log2f : 5.392317
logbf : 5.000000
lrintf : 0.000000
lrintf : 0.000000
lroundf : -1.000000
lroundf : 1.000000
lmodff : 0.000000
-nanf :
17976931348623157081452742373170435679807056752584499659891747680315726078002853876058955863276687817154045895351438246423432132688946418276846754670
+nanf : nan
nearbyintf : 2.000000
nextafterf : 1.500000
powf : 9.060100
@@ -77,7 +77,7 @@
tanhf : 0.655794
tgammaf : 1.046486
truncf : 3.000000
-y0f : 0.228084
+y0f : 0.228083
y1f : -0.621136
ynf : -3.589899
*** END OF FLOAT MATH TEST ***
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list