Commit aeffb4b5 by Bernd Schmidt Committed by Bernd Schmidt

bfin.h (PREFERRED_RELOAD_CLASS): Don't reload autoinc addresses into I registers.

	* config/bfin/bfin.h (PREFERRED_RELOAD_CLASS): Don't reload autoinc
	addresses into I registers.

From-SVN: r128212
parent ae582cbf
2007-09-07 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/bfin.h (PREFERRED_RELOAD_CLASS): Don't reload autoinc
addresses into I registers.
2007-09-06 Jan Hubicka <jh@suse.cz>
Andreas Tobler <a.tobler@schweiz.org>
......
......@@ -721,7 +721,10 @@ enum reg_class
class to use when it is necessary to copy value X into a register
in class CLASS. The value is a register class; perhaps CLASS, or
perhaps another, smaller class. */
#define PREFERRED_RELOAD_CLASS(X, CLASS) (CLASS)
#define PREFERRED_RELOAD_CLASS(X, CLASS) \
(GET_CODE (X) == POST_INC \
|| GET_CODE (X) == POST_DEC \
|| GET_CODE (X) == PRE_DEC ? PREGS : (CLASS))
/* Function Calling Conventions. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment