]> gcc.gnu.org Git - gcc.git/commit
s390.c (legitimate_reload_constant_p): Accept floating- point zero operands that...
authorUlrich Weigand <uweigand@de.ibm.com>
Thu, 9 Sep 2010 11:30:15 +0000 (11:30 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 9 Sep 2010 11:30:15 +0000 (11:30 +0000)
commit45e5214c6f9314d8b176cc284861e6fb4c087a50
tree1c9dbb79d7f4de70010eca2342ec66a538808500
parent98635b04ce12838412d2216a1f55d152346c9ff0
s390.c (legitimate_reload_constant_p): Accept floating- point zero operands that fit into a single GPR.

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.

From-SVN: r164076
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/config/s390/s390.md
This page took 0.057858 seconds and 5 git commands to generate.