building RTEMS 4.11 leon3 with floating point support?

Daniel Gutson daniel.gutson at tallertechnologies.com
Wed Sep 2 14:29:26 UTC 2015


El 2/9/2015 11:14, "Joel Sherrill" <joel.sherrill at 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.huber at 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 at 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.huber at embedded-brains.de
>>> PGP     : Public key available on request.
>>>
>>> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>>>
>>
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>>
>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel.sherrill at 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 at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150902/42e30d27/attachment-0002.html>


More information about the devel mailing list