Leon3 GR-XC3S-1500 FPU problem
Luis Mollinedo Herrera
lmollinedo at gmv.com
Tue Jan 11 15:40:37 UTC 2011
Hello,
We are working with a GR-XC3S-1500 board
(http://www.gaisler.com/cms/index.php?option=com_content&id=74&Itemid=63&limit=9\
&limitstart=153) with the GRLIB-1.0.22 + GRFPU-Lite configuration bitfile
(http://gaisler.com/products/boards/gr-xc3s-1500_bitfiles.zip).
The dhrystone and whetstone benchmarks works, but the problem starts with our
own code written in C and compiled with the RTEMS cross-compiler. With the next
compilation options:
"sparc-rtems-gcc -O2 -mv8 -mcpu=v8 -mhard-float *.c GNC_SW_nRT -I . -lm"
And with the RTEMS_FLOATING_POINT attribute
(http://www.rtems.com/wiki/index.php/Floating_Point_Support) we can perform
floating point operations included in the main file (GNC_SW_nRT.c), but the
floating point operations stored in secondary files does not work, and the
program finish without any warning or error message.
With the LEON3 configuration bitfile without hard FPU, and the -msoft-float
compilation option, the program works perfectly (very slow, but it works).
Could someone help us with this problem?
Thanks in advance.
Best regards,
Luis Mollinedo
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message
is strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial
en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
More information about the users
mailing list