mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-11 05:29:43 +00:00
Fix compilation with Clang 11.
This commit is contained in:
parent
3c7fc58ac0
commit
331b93d4d6
@ -169,6 +169,7 @@ if (DPPC_BUILD_PPC_TESTS)
|
|||||||
TARGET testppc POST_BUILD
|
TARGET testppc POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy
|
COMMAND ${CMAKE_COMMAND} -E copy
|
||||||
"${PROJECT_SOURCE_DIR}/cpu/ppc/test/ppcinttests.csv"
|
"${PROJECT_SOURCE_DIR}/cpu/ppc/test/ppcinttests.csv"
|
||||||
|
"${PROJECT_SOURCE_DIR}/cpu/ppc/test/ppcfloattests.csv"
|
||||||
"${PROJECT_SOURCE_DIR}/cpu/ppc/test/ppcdisasmtest.csv"
|
"${PROJECT_SOURCE_DIR}/cpu/ppc/test/ppcdisasmtest.csv"
|
||||||
$<TARGET_FILE_DIR:${PROJECT_NAME}>)
|
$<TARGET_FILE_DIR:${PROJECT_NAME}>)
|
||||||
endif()
|
endif()
|
||||||
|
@ -186,7 +186,7 @@ void update_fex() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename T, const FPOP fpop>
|
template <typename T, const FPOP fpop>
|
||||||
constexpr auto ppc_confirm_inf_nan(int chosen_reg_1, int chosen_reg_2, int chosen_reg_3) {
|
void ppc_confirm_inf_nan(int chosen_reg_1, int chosen_reg_2, int chosen_reg_3) {
|
||||||
T input_a = T(ppc_state.fpr[chosen_reg_1].int64_r);
|
T input_a = T(ppc_state.fpr[chosen_reg_1].int64_r);
|
||||||
T input_b = T(ppc_state.fpr[chosen_reg_2].int64_r);
|
T input_b = T(ppc_state.fpr[chosen_reg_2].int64_r);
|
||||||
T input_c = T(ppc_state.fpr[chosen_reg_3].int64_r);
|
T input_c = T(ppc_state.fpr[chosen_reg_3].int64_r);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user