[RS6000] PR70052, ICE compiling _Decimal128 test case
authorAlan Modra <amodra@gmail.com>
Fri, 25 Mar 2016 09:10:03 +0000 (19:40 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 25 Mar 2016 09:10:03 +0000 (19:40 +1030)
commit45d34276c2f3a2ee7f8bccfdef1dffe31018e6d9
tree13ecdbf6f2b7536b86b631772ffee3e0a4934f03
parente0144c7b6f38a87d8e44a14256059268ab26608b
[RS6000] PR70052, ICE compiling _Decimal128 test case

gcc/
PR target/70052
* config/rs6000/constraints.md (j): Simplify.
* config/rs6000/predicates.md (easy_fp_constant): Exclude
decimal float 0.D.
* config/rs6000/rs6000.md (zero_fp): New mode_attr.
(mov<mode>_hardfloat, mov<mode>_hardfloat32, mov<mode>_hardfloat64,
 mov<mode>_64bit_dm, mov<mode>_32bit): Use zero_fp in place of j
in all constraint alternatives.
(movtd_64bit_nodm): Delete "j" constraint alternative.
gcc/testsuite/
* gcc.dg/dfp/pr70052.c: New test.

From-SVN: r234479
gcc/ChangeLog
gcc/config/rs6000/constraints.md
gcc/config/rs6000/predicates.md
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dfp/pr70052.c [new file with mode: 0644]