Skip to content

Commit

Permalink
Merge pull request #48 from chewxy/fix-assembly
Browse files Browse the repository at this point in the history
fix recursive ARM asm call to remainder; match archRemainder for ARM64
  • Loading branch information
soypat committed May 9, 2024
2 parents 8e68659 + 1842034 commit 7caa3bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubs_arm.s
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion stubs_arm64.s
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7caa3bb

Please sign in to comment.