OSDN Git Service

2010-09-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Sep 2010 11:30:15 +0000 (11:30 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Sep 2010 11:30:15 +0000 (11:30 +0000)
commit70037005e704e2200f4ef7b8a80f0ab91d587dc3
tree1c9dbb79d7f4de70010eca2342ec66a538808500
parentf3959569995b774ef661eb319ea7085ef7f02252
2010-09-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>

* config/s390/s390.c (legitimate_reload_constant_p): Accept floating-
point zero operands that fit into a single GPR.
(s390_preferred_reload_class): Ensure we only return general-purpose
register classes.
* config/s390/s390.md ("*mov<mode>_64dfp"): Use lghi to load
floating-point zero operands into GPRs.
("*mov<mode>_64"): Likewise.
("mov<mode>"): Likewise using lhi.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164076 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/config/s390/s390.md