[RV64] Allowed disabling more extensions (#1904)
Some checks are pending
Build and Release Box64 / build (ubuntu-latest, ANDROID, Release) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, ANDROID, Trace) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, ARM64, Box32) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, ARM64, Release) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, ARM64, StaticBuild) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, ARM64, Trace) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, LARCH64, Box32) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, LARCH64, Release) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, LARCH64, StaticBuild) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, LARCH64, Trace) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, RISCV, Box32) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, RISCV, Release) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, RISCV, StaticBuild) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, RISCV, Trace) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, RK3588, Box32) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, RK3588, Release) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, RK3588, StaticBuild) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, RK3588, Trace) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, TERMUX, Release) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, TERMUX, Trace) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, X64, Box32) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, X64, Release) (push) Waiting to run
Build and Release Box64 / build (ubuntu-latest, X64, Trace) (push) Waiting to run

This commit is contained in:
Yang Liu 2024-10-05 02:13:25 +08:00 committed by GitHub
parent 778bbc6d08
commit 0243e93e97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -518,7 +518,32 @@ HWCAP2_AFP
RV64_Detect_Function();
rv64_vector = 0;
rv64_xtheadvector = 0;
} else if (p != NULL && !strcasecmp(p, "zba")) {
RV64_Detect_Function();
rv64_zba = 0;
} else if (p != NULL && !strcasecmp(p, "zbb")) {
RV64_Detect_Function();
rv64_zbb = 0;
} else if (p != NULL && !strcasecmp(p, "zbc")) {
RV64_Detect_Function();
rv64_zbc = 0;
} else if (p != NULL && !strcasecmp(p, "zbs")) {
RV64_Detect_Function();
rv64_zbs = 0;
} else if (p != NULL && !strcasecmp(p, "xtheadba")) {
RV64_Detect_Function();
rv64_xtheadba = 0;
} else if (p != NULL && !strcasecmp(p, "xtheadbb")) {
RV64_Detect_Function();
rv64_xtheadbb = 0;
} else if (p != NULL && !strcasecmp(p, "xtheadbs")) {
RV64_Detect_Function();
rv64_xtheadbs = 0;
} else if (p != NULL && !strcasecmp(p, "xtheadmempair")) {
RV64_Detect_Function();
rv64_xtheadmempair = 0;
}
printf_log(LOG_INFO, "Dynarec for RISC-V ");
printf_log(LOG_INFO, "With extension: I M A F D C");
if(rv64_zba) printf_log(LOG_INFO, " Zba");