Posted as issue http://golang.org/issue/25617
go version go1.10.2 darwin/amd64
| package argsize | |
| func Index3(a [7]byte) byte | |
| func Expect(a [7]byte) byte { return a[3] } |
| //build ignore | |
| #include "textflag.h" | |
| TEXT ·ArrayIndex3(SB),0,$0-72 | |
| MOVQ s_Array_3+32(FP), AX | |
| MOVQ AX, ret+64(FP) | |
| RET |
| package main | |
| import ( | |
| "bytes" | |
| "flag" | |
| "fmt" | |
| "go/format" | |
| "go/types" | |
| "log" | |
| "os" |
| // initial commit |
| package main | |
| import ( | |
| "flag" | |
| "io/ioutil" | |
| "log" | |
| "objfile" | |
| "os" | |
| "path/filepath" | |
| "regexp" |
| package main | |
| import ( | |
| "bufio" | |
| "errors" | |
| "fmt" | |
| "io" | |
| "log" | |
| "os" | |
| "regexp" |
| package main | |
| import ( | |
| "flag" | |
| "go/build" | |
| "io/ioutil" | |
| "log" | |
| "os" | |
| "os/exec" | |
| "path/filepath" |
| package main | |
| import ( | |
| "image/color" | |
| "log" | |
| "os" | |
| "github.com/mmcloughlin/geohash" | |
| kml "github.com/twpayne/go-kml" | |
| "github.com/twpayne/go-kml/icon" |
Posted as issue http://golang.org/issue/25617
go version go1.10.2 darwin/amd64
I have a function that I would like to provide an assembly implementation for
on amd64 architecture. For the sake of discussion let's just suppose it's an
Add function, but it's actually more complicated than this. I have the
assembly version working but my question concerns getting the godoc to display
correctly. I have a feeling this is currenty impossible, but I wanted to seek
advice.
Some more details: