This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
MIPS: don't generate branch-likely on the sb1
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: cgd at broadcom dot com
- Date: Mon, 9 Jun 2003 12:17:06 -0400
- Subject: MIPS: don't generate branch-likely on the sb1
Hey Chris,
If I'm remembering correctly, this is based on a really old patch or message
I got from you. Branch likely is extremely penalized on the SB1 and we
shouldn't generate them. Right?
(Patch is against 3.3, but should apply to HEAD too.)
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-06-09 Daniel Jacobowitz <drow@mvista.com>
* mips.h: Add !TARGET_SB1 to GENERATE_BRANCHLIKELY.
--- gcc/gcc/config/mips/mips.h.orig 2003-02-28 15:00:10.000000000 -0500
+++ gcc/gcc/config/mips/mips.h 2003-02-28 15:06:39.000000000 -0500
@@ -763,6 +763,7 @@ extern void sbss_section PARAMS ((void)
#define GENERATE_BRANCHLIKELY (TARGET_BRANCHLIKELY \
&& !TARGET_SR71K \
+ && !TARGET_SB1 \
&& !TARGET_MIPS16)
/* Generate three-operand multiply instructions for SImode. */