riscv-non-isa / riscv-c-api-doc

Documentation of the RISC-V C API
https://jira.riscv.org/browse/RVG-4
Creative Commons Attribution 4.0 International
69 stars 39 forks source link

Add __riscv_vector and __riscv_bitmanip for V and B extensions. #9

Closed jim-wilson closed 5 years ago

jim-wilson commented 5 years ago

We have assembler ports for the V and B extensions, so we should be thinking about adding preprocessor macros for them. riscv_vector seems straightforward. __riscv_bitmanipulation seems inconveniently long, but riscv_bitmanip looks OK, and is consistent with the B extension gas/gcc patches. I asked in a riscv/riscv-bitmanip issue if they are OK with this. We should wait for comments in case they want to suggest something different.

jim-wilson commented 5 years ago

19 days and no comment, so I'm self approving and committing.