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 02:37:54 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5878: arch/risc-v: Use riscv_fpuconfig to enable FPU

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



##########
File path: arch/risc-v/src/c906/c906_start.c
##########
@@ -73,6 +73,10 @@ void __c906_start(uint32_t mhartid)
   const uint32_t *src;
   uint32_t *dest;
 
+  /* Configure FPU */
+
+  riscv_fpuconfig();

Review comment:
       But should we remove FPU related config from MPFS/head.S too to unify the FPU initialization process?




-- 
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