summaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-31 11:18:41 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-31 11:18:41 +0000
commit12564c56f6478ca120e3a875f38fdddbcb29eb2f (patch)
treeb267db80f2fc5420410c2578b7b89a7bfb052e04 /gcc/config/sparc
parent767be48813f51607a3ca4e1cdc041f9a16a4272f (diff)
downloadgcc-12564c56f6478ca120e3a875f38fdddbcb29eb2f.tar.gz
* sparc.h (BRANCH_COST): Fix macro definition.
* avr.c (avr_operand_rtx_cost): Add speed argument. (avr_rtx_costs): Update calls of avr_operand_rtx_cost. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139824 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sparc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index de5f52089a3..c4910a20a31 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -2196,7 +2196,7 @@ do { \
On Niagara-2, a not-taken branch costs 1 cycle whereas a taken
branch costs 6 cycles. */
-#define BRANCH_COST (speed_p, predictable_p) \
+#define BRANCH_COST(speed_p, predictable_p) \
((sparc_cpu == PROCESSOR_V9 \
|| sparc_cpu == PROCESSOR_ULTRASPARC) \
? 7 \