See https://github.com/golang/go/wiki/MinimumRequirements#amd64
The default is GOAMD64=v1 so the fancy extensions are disabled by default (or guarded). On Thursday, 6 April 2023 at 06:18:03 UTC+1 aditi sinha wrote: > Hi > > I want to build a simple go binary that prints "hello world" but disablesthe > use of all optional instruction set extensions e.g disable AVX, AVX2, > AVX-512, SSE support . > > Thanks > Aditi > -- 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/9e1e9057-b442-49bb-9f26-c5a7b9c9f7c0n%40googlegroups.com.