This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40670] Load floating point constant 0 directly
- From: "ramana at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2009 15:15:17 -0000
- Subject: [Bug target/40670] Load floating point constant 0 directly
- References: <bug-40670-17659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from ramana at gcc dot gnu dot org 2009-07-13 15:15 -------
(In reply to comment #2)
> I'll go farther than that and say that all single-precision fp numbers
> destined for integer registers should be passed through the normal
> constant splitting routines.
>
> For instance, all positive powers of two satisfy the (0xff << lowbit) test.
>
Note that we already pass the constants through a splitter for ARM mode. It's
essentially redoing this for thumb and splitting the constants appropriately.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40670