RTEMS | x86_64: Enable and add support for FP tasks (!95)
Matheus Pecoraro (@mpec)
gitlab at rtems.org
Wed Jun 26 00:32:07 UTC 2024
Matheus Pecoraro commented on a discussion on bsps/x86_64/amd64/interrupts/isr_handler.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/95#note_108086
> /* 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)
> + /* Reset to a clean state */
> + fninit
Unless I'm missing something the formatting looks fine for me even on gitlab.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/95#note_108086
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/20240626/93cb22cd/attachment-0001.htm>
More information about the bugs
mailing list