RTEMS | x86_64: Enable and add support for FP tasks (!95)

Joel Sherrill (@joel) gitlab at rtems.org
Mon Jul 1 15:31:40 UTC 2024




Joel Sherrill commented on a discussion on bsps/x86_64/amd64/interrupts/isr_handler.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/95#note_108541

 >    /* Save the initial rsp */
 >    movq SAVED_RSP,   (0 * CPU_SIZEOF_POINTER)(rsp)
 >  
 > +  /* Save x87 FPU, MMX and SSE state */
 > +.set FXSAVE_SIZE, 512
 > +  /* Make space for FXSAVE */
 > +  subq $FXSAVE_SIZE, rsp
 > +  fwait
 > +  fxsave64 (rsp)

Maybe put that in the port documentation.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/95#note_108541
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240701/5d2b05f7/attachment.htm>


More information about the bugs mailing list