mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-11 00:16:29 +00:00
IR: Implement FPMulAdd
This commit is contained in:
@@ -77,6 +77,8 @@ static u32 GenRandomInst(u64 pc, bool is_last_inst) {
|
||||
"LDLAR",
|
||||
// Dynarmic and QEMU currently differ on how the exclusive monitor's address range works.
|
||||
"STXR", "STLXR", "STXP", "STLXP", "LDXR", "LDAXR", "LDXP", "LDAXP",
|
||||
// Approximation. Produces inaccurate results.
|
||||
"FMADD_float", "FMSUB_float", "FNMADD_float", "FNMSUB_float",
|
||||
};
|
||||
|
||||
for (const auto& [fn, bitstring] : list) {
|
||||
@@ -89,7 +91,6 @@ static u32 GenRandomInst(u64 pc, bool is_last_inst) {
|
||||
}
|
||||
result.emplace_back(InstructionGenerator{bitstring});
|
||||
}
|
||||
|
||||
return result;
|
||||
}();
|
||||
|
||||
@@ -115,6 +116,8 @@ static u32 GenFloatInst(u64 pc, bool is_last_inst) {
|
||||
const std::vector<std::string> do_not_test {
|
||||
// QEMU's implementation of FCVT is incorrect
|
||||
"FCVT_float",
|
||||
// Approximation. Produces incorrect results.
|
||||
"FMADD_float", "FMSUB_float", "FNMADD_float", "FNMSUB_float",
|
||||
};
|
||||
|
||||
std::vector<InstructionGenerator> result;
|
||||
|
||||
Reference in New Issue
Block a user