It is likely a code for GOARCH=amd64. Back in the distant past, there
were separate Go compilers for different CPU architectures. The one for
amd64 was 6g, for 386 it was 8g, etc.
It looks like the x86 directory is code that was originally written for
amd64, and then generalized to cover 386 as well.
Andy
On 3/29/21 7:45 AM, xie cui wrote:
https://github.com/golang/go/blob/master/src/cmd/internal/obj/x86/asm6.go
this file named asm6, and there is a func named span6, what is 6 for here?
--
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 golang-nuts+unsubscr...@googlegroups.com
<mailto:golang-nuts+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/a31873c7-15c3-4260-81b1-cec57ebe3867n%40googlegroups.com
<https://groups.google.com/d/msgid/golang-nuts/a31873c7-15c3-4260-81b1-cec57ebe3867n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/fa3389da-d69a-7ec2-a896-efa619a8ece3%40gmail.com.