View | Details | Return to bug 65932 | Differences between
and this patch

Collapse All | Expand All

(-)config/arm/arm.h (-6 lines)
Lines 523-538 extern int arm_arch_crc; Link Here
523
   type, but kept valid in the wider mode.  The signedness of the
523
   type, but kept valid in the wider mode.  The signedness of the
524
   extension may differ from that of the type.  */
524
   extension may differ from that of the type.  */
525
525
526
/* It is far faster to zero extend chars than to sign extend them */
527
528
#define PROMOTE_MODE(MODE, UNSIGNEDP, TYPE)	\
526
#define PROMOTE_MODE(MODE, UNSIGNEDP, TYPE)	\
529
  if (GET_MODE_CLASS (MODE) == MODE_INT		\
527
  if (GET_MODE_CLASS (MODE) == MODE_INT		\
530
      && GET_MODE_SIZE (MODE) < 4)      	\
528
      && GET_MODE_SIZE (MODE) < 4)      	\
531
    {						\
529
    {						\
532
      if (MODE == QImode)			\
533
	UNSIGNEDP = 1;				\
534
      else if (MODE == HImode)			\
535
	UNSIGNEDP = 1;				\
536
      (MODE) = SImode;				\
530
      (MODE) = SImode;				\
537
    }
531
    }
538
532

Return to bug 65932