public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Supporting FP cmp lib routines
@ 2009-09-14 13:59 Mohamed Shafi
  2009-09-14 14:49 ` Richard Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: Mohamed Shafi @ 2009-09-14 13:59 UTC (permalink / raw)
  To: GCC

Hi all,

I am doing a GCC port for a 32bit target in GCC 4.4.0. The target uses
hand coded floating point compare routines. Generally the function
returns the values in the general purpose registers. But these fp cmp
routines return the result in the Status Register itself.  So there is
no need to have compare instruction after the function call for FP
compare. Is there a way to let GCC know that the result for FP compare
are stored in the Status Register so that GCC generates directly a
jump operation? How can i implement this?

Regards,
Shafi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-23 14:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-14 13:59 Supporting FP cmp lib routines Mohamed Shafi
2009-09-14 14:49 ` Richard Henderson
2009-09-14 16:03   ` Richard Henderson
2009-10-23 14:32     ` Mohamed Shafi
2009-10-23 14:40       ` Joern Rennecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).