Re: fminnm/fmaxnm generation in aarch64

2018-05-08 Thread Joseph Myers
On Mon, 7 May 2018, Indu Bhagat wrote: > Q2. If one wants the compiler to generate fminnm/fmaxnm instructions, while > conforming with IEEE standard, the way to do that will be to use math > builtins fmin()/fmax(). Is this correct understanding? For IEEE 754-2008 minNum / maxNum operation

Re: fminnm/fmaxnm generation in aarch64

2018-05-08 Thread Andrew Haley
On 07/05/18 18:08, Indu Bhagat wrote: [Trying to get some feedback. I earlier posted on gcc-help a week ago] In tree.def - /* Minimum and maximum values.  When used with floating point, if both    operands are zeros, or if either operand is NaN, then it is unspecified    which of the two oper

fminnm/fmaxnm generation in aarch64

2018-05-07 Thread Indu Bhagat
[Trying to get some feedback. I earlier posted on gcc-help a week ago] In tree.def - /* Minimum and maximum values. When used with floating point, if both operands are zeros, or if either operand is NaN, then it is unspecified which of the two operands is returned as the result. */ DEFTRE