You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2024/01/18 01:08:38 UTC

[PR] risc-v/cmake: set llvm cputype only for LLVM based toolchain [nuttx]

anchao opened a new pull request, #11561:
URL: https://github.com/apache/nuttx/pull/11561

   ## Summary
   
   1. risc-v/cmake: set llvm cputype only for LLVM based toolchain
   
   ```
   remove LLVM_CPUTYPE from compile line
   
   set llvm cputype only for LLVM based toolchain to avoid build break:
   
   riscv64-unknown-elf-gcc: error: unrecognized command-line option '-mcpu=sifive-u54'
   ```
   
   2. risc-v/cmake: configurable vendor ISA extensions
   
   ```
   merge below commit into cmake:
   
   1. risc-v/toolchain: configurable vendor ISA extensions
   
   This option allows the platform to enable some vendor-customized ISA extensions,
   E.g OpenHW, SiFive, T-Head.
   
   SiFive Intelligence Extensions:
       SiFive Vector Coprocessor Interface(VCIX): xsfvcp
       SiFive FP32-to-int8 Ranged Clip Instructions: Xsfvfnrclipxfqf
       SiFive Matrix Multiply Accumulate Instructions: Xsfvfwmaccqqq
       SiFive Int8 Matrix Multiplication Instructions: XSFvqmaccqoq
   Command Line:
       xsfvcp0p1_xsfvfnrclipxfqf0p1_xsfvfwmaccqqq0p1_xsfvqmaccqoq0p1
   
   2. "V" Standard Extension for Vector Operations
   3. "Q" Standard Extension for Quad-Precision Floating-Point
   ```
   
   
   ## Impact
   
   ## Testing
   
   


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


Re: [PR] risc-v/cmake: set llvm cputype only for LLVM based toolchain [nuttx]

Posted by "jerpelea (via GitHub)" <gi...@apache.org>.
jerpelea merged PR #11561:
URL: https://github.com/apache/nuttx/pull/11561


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