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

2009-12-23 Thread ramana at gcc dot gnu dot org


--- Comment #4 from ramana at gcc dot gnu dot org  2009-12-23 16:29 ---
Subject: Bug 40670

Author: ramana
Date: Wed Dec 23 16:29:12 2009
New Revision: 155427

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155427
Log:
Pass floating point constant moves to integer registers
as mov immediates for Thumb1.


2009-12-23  Ramana Radhakrishnan  ramana.radhakrish...@arm.com

PR target/40670
* config/arm/arm.md: Split for Thumb1 as well.

* gcc.target/arm/pr40670.c: New test.

Added:
trunk/gcc/testsuite/gcc.target/arm/pr40670.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.md
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40670



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

2009-12-23 Thread ramana at gcc dot gnu dot org


--- Comment #5 from ramana at gcc dot gnu dot org  2009-12-23 16:37 ---
Fixed.


-- 

ramana at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40670



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

2009-07-07 Thread carrot at google dot com


--- Comment #1 from carrot at google dot com  2009-07-07 09:38 ---
Created an attachment (id=18149)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18149action=view)
test case


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40670



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

2009-07-07 Thread rth at gcc dot gnu dot org


--- Comment #2 from rth at gcc dot gnu dot org  2009-07-07 23:38 ---
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.


-- 

rth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2009-07-07 23:38:48
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40670