riscv: Add bitmanip instructions to emitter (#16832)

* riscv: Cleanup emitter, add bitmanip detect.

Better to encode using Funct7::ZERO, and obviously for SRA.

* riscv: Add bitmanip instructions to emitter.
This commit is contained in:
Unknown W. Brackets authored and GitHub committed 2023-01-22 21:37:47 +01:00
1 parent 31d106b0c5
commit 3bc2450b5e
4 files changed
+424 -17

No files matched your search

+1
View File
@@ -173,6 +173,7 @@ void CPUInfo::Detect()
RiscV_D = ExtensionSupported(hwcap, 'D');
RiscV_C = ExtensionSupported(hwcap, 'C');
RiscV_V = ExtensionSupported(hwcap, 'V');
RiscV_B = ExtensionSupported(hwcap, 'B');
}
// Turn the cpu info into a string we can show