Sparc v8 RTEMS - POSIX & Networking Stack using hardware floatingpoint registers.

Gedare Bloom gedare at rtems.org
Thu May 15 13:47:12 UTC 2014


On Thu, May 15, 2014 at 6:18 AM, Thomas Kim <thomas73.kim at gmail.com> wrote:
> Dear Sir,
>
> I have tested RTEMS POSIX pthread application and Network stack using
> hardware floating point on Sparc v8 architecture.
>
> As I know, whenever pthread is created, pthread task is operated with
> context switching for hardware floating registers.
> But, RTEMS native tasks for BSD network stack are created with
> "RTEMS_NO_FLOATING_POINT" option.
>
> Is there any side-effect in this case because there is not context switching
> operation for hardware floatingpoint registers on RTEMS native network tasks
> ?
>
As long as the network tasks do not use the floating point registers,
there is no problem. There have been discussions before that perhaps
gcc uses floating point registers for example in printf, so you should
take some care to check that the generated code is not using the
floating point registers even though it does not use floating point
operations.

-Gedare

> Please advise me.
>
> Best Regards.
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>



More information about the users mailing list