mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Merge pull request #20375 from zqb-all/riscv-spacemit-k1
RISCV: enable some cpu extensions for spacemit k1
This commit is contained in:
1 file changed
+10
@@ -201,6 +201,16 @@ void CPUInfo::Detect()
|
||||
RiscV_Zba = true;
|
||||
RiscV_Zbb = true;
|
||||
}
|
||||
if ((parser.FirmwareMatchesCompatible("spacemit,k1-x"))
|
||||
|| (parser.FirmwareMatchesCompatible("spacemit,k1"))) {
|
||||
RiscV_Zba = true;
|
||||
RiscV_Zbb = true;
|
||||
RiscV_Zbc = true;
|
||||
RiscV_Zbs = true;
|
||||
RiscV_Zfh = true;
|
||||
RiscV_Zfhmin = true;
|
||||
RiscV_Zicond = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_GETAUXVAL) || defined(HAVE_ELF_AUX_INFO)
|
||||
|
||||
Reference in new issue
Block a user