rsqrt_test: Fix on GCC

This commit is contained in:
MerryMage 2021-04-29 00:09:34 +01:00
parent 6759942b56
commit 6404f58d23
2 changed files with 4 additions and 1 deletions

View file

@ -27,6 +27,9 @@ extern "C" u32 rsqrt_fallback(u32 value) {
FP::FPSR fpsr; FP::FPSR fpsr;
return FP::FPRSqrtEstimate(value, fpcr, fpsr); return FP::FPRSqrtEstimate(value, fpcr, fpsr);
} }
extern "C" u32 _rsqrt_fallback(u32 value) {
return rsqrt_fallback(value);
}
void Test(u32 value) { void Test(u32 value) {
FP::FPCR fpcr; FP::FPCR fpcr;

View file

@ -17,7 +17,7 @@
.global _rsqrt_fallback .global _rsqrt_fallback
.text .text
.intel_syntax .intel_syntax noprefix
.align 16 .align 16
min_pos_denorm: min_pos_denorm: