> Am 20.08.2019 um 19:13 schrieb Segher Boessenkool > <seg...@kernel.crashing.org>: > > On Tue, Aug 20, 2019 at 06:13:00PM +0200, Ilya Leoshkevich wrote: >>> Am 20.08.2019 um 17:50 schrieb Segher Boessenkool >>> <seg...@kernel.crashing.org>: >>> There is currently no way to say (in trees or gimple or rtl) whether >>> comparisons are signaling ("ordered", generate a trap on an unordered >>> result). I am working on this, but :-) >> >> Isn't there? This whole series is based on the following assumption: >> LT, LE, GT, GE are definitely signaling; LTGT is most likely signaling >> as well; the rest are not signaling. This is based on gccint 11.6.3: >> Unary and Binary Expressions. > > There is currently no way to implement, say, iseqsig. And whether an > operation is signaling should be determined by the language frontend, > not separately by each backend! Wouldn't expressing it as ((x <= y) && (x >= y)) work? In any case, I'll need to check whether my patch series handles iseqsig in at least remotely sane way.. > > (There should be a signaling and a non-signaling version of every float > comparison that can be unordered). I wholeheartedly agree. I had to write quite a few ugly patterns to work around the lack of e.g. non-signaling GT.
- Re: [PATCH 2/8] Introduce vcond_supported_... Richard Sandiford
- Re: [PATCH 2/8] Introduce vcond_suppor... Ilya Leoshkevich
- [PATCH 1/8] Document signaling for min, max and ltgt op... Ilya Leoshkevich
- Re: [PATCH 1/8] Document signaling for min, max an... Segher Boessenkool
- Re: [PATCH 1/8] Document signaling for min, ma... Ilya Leoshkevich
- Re: [PATCH 1/8] Document signaling for min... Segher Boessenkool
- Re: [PATCH 1/8] Document signaling for... Ilya Leoshkevich
- Re: [PATCH 1/8] Document signaling for min, max an... Segher Boessenkool
- Re: [PATCH 1/8] Document signaling for min, ma... Ilya Leoshkevich
- Re: [PATCH 1/8] Document signaling for min... Segher Boessenkool
- Re: [PATCH 1/8] Document signaling for... Ilya Leoshkevich
- Re: [PATCH 1/8] Document signalin... Segher Boessenkool
- [PATCH 3/8] S/390: Implement vcond_supported_p hook Ilya Leoshkevich
- [PATCH 4/8] S/390: Implement vcond expander for V1TI,V1... Ilya Leoshkevich
- [PATCH 6/8] S/390: Remove code duplication in vec_* com... Ilya Leoshkevich
- [PATCH 5/8] S/390: Remove code duplication in vec_unord... Ilya Leoshkevich
- [PATCH 8/8] S/390: Test signaling FP comparison instruc... Ilya Leoshkevich
- [PATCH 7/8] S/390: Use signaling FP comparison instruct... Ilya Leoshkevich
- Re: [PATCH 0/8] Use signaling FP comparison instruction... Joseph Myers