Calling a constant function address costs the same number of clock
cycles as calling an address stored in a register. However, in terms of
instruction length, calling a constant address is more expensive.
Set NO_FUNCTION_CSE to true, only when optimizing for speed.
gcc/ChangeLog:
* config/msp430/msp430.h (NO_FUNCTION_CSE): Set to true at -O2 and
above.
msp430_return_addr_rtx (COUNT)
#define SLOW_BYTE_ACCESS 0
+
+/* Calling a constant function address costs the same number of clock
+ cycles as calling an address stored in a register. However, in terms of
+ instruction length, calling a constant address is more expensive. */
+#define NO_FUNCTION_CSE (optimize >= 2 && !optimize_size)
\f
/* Register Usage */