s390.c: (s390_const_double_ok_for_constraint_p): New function.
authorAdrian Straetling <straetling@de.ibm.com>
Tue, 10 May 2005 20:43:36 +0000 (20:43 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Tue, 10 May 2005 20:43:36 +0000 (20:43 +0000)
commitd096725d2690b6885df1e958778905fb9ac05720
tree4b5e99f52cd20e36a2770b2103471f6db4dd9205
parent31117a5ce2887fe2524f6fbb8b4621c8d2046279
s390.c: (s390_const_double_ok_for_constraint_p): New function.

2005-05-10  Adrian Straetling  <straetling@de.ibm.com>

* config/s390/s390.c: (s390_const_double_ok_for_constraint_p): New
function.
(legitimate_reload_constant_p): Add check for const double zero.
* config/s390/s390.md: Add comment for constraint letter 'G'.
("*movdf_64", "*movdf_31", "movsf"): Add constraint and proper
attributes for new case.
* config/s390/s390.h: (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Define it as
s390_const_double_ok_for_constraint_p.
* config/s390/s390-protos.h (s390_const_double_ok_for_constraint_p):
Add prototype.

From-SVN: r99541
gcc/ChangeLog
gcc/config/s390/s390-protos.h
gcc/config/s390/s390.c
gcc/config/s390/s390.h
gcc/config/s390/s390.md