Skip to content

Commit

Permalink
Merge pull request #9 from blackrez/patch-1
Browse files Browse the repository at this point in the history
feat: add riscv64 stubs file
  • Loading branch information
chewxy committed Sep 4, 2019
2 parents 78dacbd + 23791b1 commit 44d58e9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions stubs_risc64.s
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include "textflag.h"

// func Exp(x float32) float32
TEXT ·Exp(SB),NOSPLIT,$0
B ·exp(SB)


// func Log(x float64) float64
TEXT ·Log(SB),NOSPLIT,$0
B ·log(SB)

TEXT ·Remainder(SB),NOSPLIT,$0
B ·remainder(SB)

// func Sqrt(x float32) float32
TEXT ·Sqrt(SB),NOSPLIT,$0
B ·sqrt(SB)

0 comments on commit 44d58e9

Please sign in to comment.