It's a function for
type Type int64
func (t Type) Func(arg float32) float32
I take t at 0(FP), t at 8(FP), arg_base at 16(FP) and return at
The function is purely mathematical and does absolutely no fiddling around
with the heap/memory. It just reads the number from the arg slice.
vet gives completely nonsense output by the way:
-undefined variable t
-when I tried an alternative function with the signature func(t int64,
arg float64)), it said "unsupported assembly argument type int64"
I mentioned some in the post "vet asm strangeness (amd64)" in the past (and
yes, I'm talking about the same code here as well) but I didn't get any
replies back then.
Fingers crossed :)
I can say that go vet is buggy with assembly. I'm not sure whether the gc
tool chain has some new bugs though, but my working 1.1 code panics with
When I remove //go:noescape, the problem goes away
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/groups/opt_out.