This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Supporting FP cmp lib routines
- From: Mohamed Shafi <shafitvm at gmail dot com>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Mon, 14 Sep 2009 19:29:30 +0530
- Subject: Supporting FP cmp lib routines
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