Re: [Mesa-dev] [PATCH RFC] radeonsi: Disable IEEE_MODE.

2018-03-06 Thread Marek Olšák
You can change the behavior for clover, but I would like to keep the current behavior for OpenGL. Marek On Sat, Mar 3, 2018 at 6:35 PM, Jan Vesely wrote: > Neither GL nor CL nor SPIRV needs the IEEE handling of sNaNs. > > Signed-off-by: Jan Vesely

Re: [Mesa-dev] [PATCH RFC] radeonsi: Disable IEEE_MODE.

2018-03-06 Thread Eric Engestrom
On Monday, 2018-03-05 14:07:24 -0500, Jan Vesely wrote: > On Mon, 2018-03-05 at 10:04 +, Eric Engestrom wrote: > > On Saturday, 2018-03-03 18:35:02 -0500, Jan Vesely wrote: > > > Neither GL nor CL nor SPIRV needs the IEEE handling of sNaNs. > > > > > > Signed-off-by: Jan Vesely

Re: [Mesa-dev] [PATCH RFC] radeonsi: Disable IEEE_MODE.

2018-03-05 Thread Jan Vesely
On Mon, 2018-03-05 at 10:04 +, Eric Engestrom wrote: > On Saturday, 2018-03-03 18:35:02 -0500, Jan Vesely wrote: > > Neither GL nor CL nor SPIRV needs the IEEE handling of sNaNs. > > > > Signed-off-by: Jan Vesely > > --- > > This is the 3rd way to handle broken

Re: [Mesa-dev] [PATCH RFC] radeonsi: Disable IEEE_MODE.

2018-03-05 Thread Eric Engestrom
On Saturday, 2018-03-03 18:35:02 -0500, Jan Vesely wrote: > Neither GL nor CL nor SPIRV needs the IEEE handling of sNaNs. > > Signed-off-by: Jan Vesely > --- > This is the 3rd way to handle broken fmin/fmax in clover CL. > It can be worked around in libclc (to not use >

[Mesa-dev] [PATCH RFC] radeonsi: Disable IEEE_MODE.

2018-03-03 Thread Jan Vesely
Neither GL nor CL nor SPIRV needs the IEEE handling of sNaNs. Signed-off-by: Jan Vesely --- This is the 3rd way to handle broken fmin/fmax in clover CL. It can be worked around in libclc (to not use llvm.fminnum/llvm.fmaxnum)[0] LLVM can be patched to not use IEEE_MODE[1]