Oops, spoke too soon. Got you now Ian. Thanks.

On Mar 2, 2018 1:37 AM, "Agniva De Sarker" <[email protected]>
wrote:

> We can still support all processors. I believe it should be possible to
> check for cpuid flags and conditionally emit these instructions.
>
> On Mar 2, 2018 12:23 AM, "Ian Lance Taylor" <[email protected]> wrote:
>
>> On Thu, Mar 1, 2018 at 5:05 AM, Agniva De Sarker
>> <[email protected]> wrote:
>> >
>> > I believe using the non-destructive 3 operand form will help a lot in
>> > reducing the size of binaries. And also, it might give us a good base
>> to add
>> > FMA support and SIMD optimizations later.
>> >
>> > I have been adding fast paths to some math functions to use AVX
>> > instructions, but I was just wondering if there is any plan in the
>> pipeline
>> > to do this from the compiler itself.
>>
>> We would have to make a clear decision as to the oldest amd64
>> processor we wanted to support.  Right now I believe we support all
>> amd64 processors.  Are we ready to give up on old ones?
>>
>> I don't think it's worth adding a GOAMD64 environment variable for
>> this.  I don't think the gain is worth the complexity.  Happy to be
>> proven wrong.
>>
>> Ian
>>
>

-- 
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 protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to