mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
JIT: implement frsqrte
Mostly a straightforward translation of the interpreter code, with a few tricksy optimizations and fallbacks for rare paths.
This commit is contained in:
@ -123,6 +123,12 @@ u32 ClassifyDouble(double dvalue);
|
||||
// More efficient float version.
|
||||
u32 ClassifyFloat(float fvalue);
|
||||
|
||||
extern const int frsqrte_expected_base[];
|
||||
extern const int frsqrte_expected_dec[];
|
||||
|
||||
// The PowerPC approximate square root algorithm
|
||||
double ApproximateReciprocalSquareRoot(double val);
|
||||
|
||||
template<class T>
|
||||
struct Rectangle
|
||||
{
|
||||
|
Reference in New Issue
Block a user