View | Details | Return to bug 28181
Collapse All | Expand All

(-)config/m68k/m68k.h (+7 lines)
Lines 436-441 extern enum reg_class regno_reg_class[]; Link Here
436
   ? DATA_REGS					\
436
   ? DATA_REGS					\
437
   : (CLASS))
437
   : (CLASS))
438
438
439
/* Classes containing address registers can not change mode to or from a mode
440
   which is 8 bits wide.  */
441
#define CANNOT_CHANGE_MODE_CLASS(FROM, TO, CLASS) \
442
  ((GET_MODE_SIZE (TO) == 1 || GET_MODE_SIZE (FROM) == 1) \
443
   && ((CLASS) == ADDR_REGS || (CLASS) == ADDR_OR_FP_REGS \
444
       || (CLASS) == GENERAL_REGS || (CLASS) == ALL_REGS))
445
439
/* On the m68k, this is the size of MODE in words,
446
/* On the m68k, this is the size of MODE in words,
440
   except in the FP regs, where a single reg is always enough.  */
447
   except in the FP regs, where a single reg is always enough.  */
441
#define CLASS_MAX_NREGS(CLASS, MODE)	\
448
#define CLASS_MAX_NREGS(CLASS, MODE)	\

Return to bug 28181