This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PR 19924 AVR MODES_TIEABLE


This is patch to change avr target to allow MODE_TIEABLE.
Tested with no regressions (and less failures in test suite.)
Significant code/speed improvements.
This is a winner - no bad for a single digit change.

Can somebody comit this?




PR target/19924 * avr.h define MODES_TIEABLE 1 to allow subreg access optimisation

Index: avr.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/avr/avr.h,v
retrieving revision 1.110
diff -c -3 -p -r1.110 avr.h
*** avr.h   25 Dec 2004 22:20:04 -0000  1.110
--- avr.h   14 Feb 2005 23:08:18 -0000
*************** extern int avr_asm_only_p;
*** 216,222 ****

#define HARD_REGNO_MODE_OK(REGNO, MODE) avr_hard_regno_mode_ok(REGNO, MODE)

! #define MODES_TIEABLE_P(MODE1, MODE2) 0

  enum reg_class {
    NO_REGS,
--- 216,222 ----

#define HARD_REGNO_MODE_OK(REGNO, MODE) avr_hard_regno_mode_ok(REGNO, MODE)

! #define MODES_TIEABLE_P(MODE1, MODE2) 1

  enum reg_class {
    NO_REGS,

Andy Hutchinson
----------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]