rs6000: Fix UNORDERED without NaNs, for DFP (PR92573)

This is the analogue of r278103, but for DFP.


	PR target/92573
	* config/rs6000/dfp.md (dfptstsfi_<code>_<mode> for DFP_TEST and DDTD):
	Handle UNORDERED if !HONOR_NANS.

From-SVN: r278497
This commit is contained in:
Segher Boessenkool 2019-11-20 14:38:52 +01:00 committed by Segher Boessenkool
parent 041cb6154c
commit bcb4b4b4ba
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2019-11-20 Segher Boessenkool <segher@kernel.crashing.org>
PR target/92573
* config/rs6000/dfp.md (dfptstsfi_<code>_<mode> for DFP_TEST and DDTD):
Handle UNORDERED if !HONOR_NANS.
2019-11-20 Jan Hubicka <jh@suse.cz>
* ipa-inline.c (wrapper_heuristics_may_apply): Break out from ...

View File

@ -289,6 +289,12 @@
]
"TARGET_P9_MISC"
{
if (<CODE> == UNORDERED && !HONOR_NANS (<MODE>mode))
{
emit_move_insn (operands[0], const0_rtx);
DONE;
}
operands[3] = gen_reg_rtx (CCFPmode);
})