From 184203498e09a271bc549a4e6d7fa394ae56fcfb Mon Sep 17 00:00:00 2001 From: Patricio Whittingslow Date: Thu, 9 May 2024 17:22:38 -0300 Subject: [PATCH] fix recursive ARM asm call to remainder; match archRemainder for ARM64 --- stubs_arm.s | 2 +- stubs_arm64.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs_arm.s b/stubs_arm.s index f649869..f2c0d97 100644 --- a/stubs_arm.s +++ b/stubs_arm.s @@ -14,7 +14,7 @@ TEXT ·archLog(SB),NOSPLIT,$0 // func archRemainder(x, y float32) float32 TEXT ·archRemainder(SB),NOSPLIT,$0 - B ·archRemainder(SB) + B ·remainder(SB) // func archSqrt(x float32) float32 TEXT ·archSqrt(SB),NOSPLIT,$0 diff --git a/stubs_arm64.s b/stubs_arm64.s index de60b53..0b2931c 100644 --- a/stubs_arm64.s +++ b/stubs_arm64.s @@ -4,6 +4,6 @@ TEXT ·archLog(SB),NOSPLIT,$0 B ·log(SB) -// func archRemainder(x float32) float32 // TODO +// func archRemainder(x, y float32) float32 // TODO // TEXT ·archRemainderTODO(SB),NOSPLIT,$0 // B ·remainder(SB)