[go-nuts] Re: Disable AVX, AVX2, AVX-512, SSE support while building a go binary

2023-04-06 Thread Uli Kunitz
After reading the documentation I have to correct. GO386 supports the softfloat option to support older processors which don't support SSE2. Information can be found here: https://github.com/golang/go/wiki/MinimumRequirements#386 On Friday, April 7, 2023 at 8:22:14 AM UTC+2 Uli Kunitz wrote: >

[go-nuts] Re: Disable AVX, AVX2, AVX-512, SSE support while building a go binary

2023-04-06 Thread Uli Kunitz
Note that SSE2 is not optional and is used for floating point operations on 386 and AMD64. Before 1.16 there has been a GO386 option that supported 387 instructions but it has been removed. GOAMD64 has no influence on it. On Thursday, April 6, 2023 at 7:18:03 AM UTC+2 aditi sinha wrote: > Hi >

[go-nuts] Re: Disable AVX, AVX2, AVX-512, SSE support while building a go binary

2023-04-06 Thread Brian Candler
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 disabl