Skip to content

Refine RISC-V autodetection, get RISC-V Clang working with BLIS#9

Merged
angsch merged 2 commits intoangsch:masterfrom
leekillough:refine_riscv_autodetect
Mar 29, 2023
Merged

Refine RISC-V autodetection, get RISC-V Clang working with BLIS#9
angsch merged 2 commits intoangsch:masterfrom
leekillough:refine_riscv_autodetect

Conversation

@leekillough
Copy link
Copy Markdown

Refine bli_riscv_cpuid.h to exclude __riscv_32e instead of testing for __riscv_e.

Add -DFORCE_RISCV_VECTOR when autodetecting architecture and rv32iv or rv64iv config has been selected, to work around Clang.

Fix vsetvli instructions to use all operands, which are not optional in Clang.

Passes quick test.

…r __riscv_e.

Add -DFORCE_RISCV_VECTOR when autodetecting architecture and rv32iv or rv64iv
config has been selected, to work around Clang.

Fix vsetvli instructions to use all operands, which are not optional in Clang.
@angsch angsch merged commit c0fcec5 into angsch:master Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants