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 > > 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/3bf8d473-f6d5-4ce2-afe5-4411c6be9c50n%40googlegroups.com.