Re: [PATCH] [amdgcn] Add support for unordered floating-point comparisons

2020-04-02 Thread Andrew Stubbs
On 02/04/2020 15:55, Kwok Cheung Yeung wrote: Hello This patch adds support for the unordered floating-point comparison operators (UNEQ, UNGE, UNGT, UNLE, UNLT), which return true if one of the operands is a NaN. These comparisons can be generated by builtins such as __builtin_isgreater. GC

[PATCH] [amdgcn] Add support for unordered floating-point comparisons

2020-04-02 Thread Kwok Cheung Yeung
Hello This patch adds support for the unordered floating-point comparison operators (UNEQ, UNGE, UNGT, UNLE, UNLT), which return true if one of the operands is a NaN. These comparisons can be generated by builtins such as __builtin_isgreater. GCC 10 appears to have a fall-back if the unordere