El 2/9/2015 11:14, "Joel Sherrill" <joel.sherr...@oarcorp.com> escribió: > > > > On 8/31/2015 5:47 AM, Cudmore, Alan P. (GSFC-5820) wrote: >> >> Having a floating point configuration of the BSP makes sense. I was able >> to rebuild the BSP with the hardware floating point compiler option and it >> works. >> >> I did get a floating point exception in the FTP task and had to change the >> FTP task create to enable floating point. Is it worth submitting a patch >> to change that? > > > What did it use the FPU for? Is this a case where GCC emits FPU instructions > just to move data or calculate array indices?
Offtopic: this seems very suboptimal. Have you got an actual example of that? I'd like to take a look. > > On some CPUs, when hard FP is turned on, GCC assumes the FPU can be used > for some non-intuitive things and it is safer to implicitly make all tasks > FP rather than letting people trip over implicit uses of the FPU. > > --joel > > >> Thanks, >> Alan >> >> >> On 8/31/15, 2:40 AM, "Sebastian Huber" >> <sebastian.hu...@embedded-brains.de> wrote: >> >>> Hello Alan, >>> >>> I am not sure how Gaisler manages this in their RCC, but I think for >>> standard RTEMS we need additional BSPs (e.g. via leon3_fp.cfg and >>> ngmp_fp.cfg configuration files). >>> >>> On 17/08/15 17:29, Cudmore, Alan P. (GSFC-5820) wrote: >>>> >>>> Hi, >>>> We are currently trying to use the leon3 BSP for RTEMS 4.11. >>>> We have used the 4.10 RCC/Gaisler tools with the Driver Manager in the >>>> past, but we would like to be on 4.11 for the SMP support. >>>> >>>> When I build the 4.11 leon3 BSP, I seem to only have soft-float >>>> support. When I try to build with the ‹enable-multilib configure >>>> switch, the build fails. Before I start trying to determine the cause >>>> of the compile failure, I wanted to make sure I am enabling floating >>>> point support for the LEON3 correctly. >>>> >>>> Thanks, >>>> Alan >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> devel mailing list >>>> devel@rtems.org >>>> http://lists.rtems.org/mailman/listinfo/devel >>> >>> >>> -- >>> Sebastian Huber, embedded brains GmbH >>> >>> Address : Dornierstr. 4, D-82178 Puchheim, Germany >>> Phone : +49 89 189 47 41-16 >>> Fax : +49 89 189 47 41-09 >>> E-Mail : sebastian.hu...@embedded-brains.de >>> PGP : Public key available on request. >>> >>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. >>> >> >> _______________________________________________ >> devel mailing list >> devel@rtems.org >> http://lists.rtems.org/mailman/listinfo/devel >> > > -- > Joel Sherrill, Ph.D. Director of Research & Development > joel.sherr...@oarcorp.com On-Line Applications Research > Ask me about RTEMS: a free RTOS Huntsville AL 35805 > Support Available (256) 722-9985 > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel