You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/29 15:12:43 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5905: arch/risc-v: Store/Restore FPU register in exception_common

xiaoxiang781216 commented on a change in pull request #5905:
URL: https://github.com/apache/incubator-nuttx/pull/5905#discussion_r837597940



##########
File path: arch/risc-v/src/common/riscv_exception_common.S
##########
@@ -147,6 +155,10 @@ exception_common:
   REGLOAD    s0, REG_INT_CTX(sp) /* restore mstatus   */
   csrw       mstatus, s0
 
+#ifdef CONFIG_ARCH_FPU

Review comment:
       should we restore before mstatus?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org