This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/40670] Load floating point constant 0 directly



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]