--- gcc/config/we32k/we32k.h 2018/04/24 18:10:24 1.1 +++ gcc/config/we32k/we32k.h 2018/04/24 18:14:47 1.1.1.2 @@ -21,7 +21,7 @@ the Free Software Foundation, 675 Mass A /* Names to predefine in the preprocessor for this target machine. */ -#define CPP_PREDEFINES "-Dwe32000 -Du3b -Dunix" +#define CPP_PREDEFINES "-Dwe32000 -Du3b -Dunix -Asystem(unix) -Acpu(we32000) -Amachine(we32000)" /* Print subsidiary information on the compiler version in use. */ @@ -647,10 +647,9 @@ enum reg_class { NO_REGS, GENERAL_REGS, /* Nonzero if access to memory by bytes is slow and undesirable. */ #define SLOW_BYTE_ACCESS 0 -/* Define if shifts truncate the shift count - which implies one can omit a sign-extension or zero-extension - of a shift count. */ -#define SHIFT_COUNT_TRUNCATED +/* Define this to be nonzero if shift instructions ignore all but the low-order + few bits. */ +#define SHIFT_COUNT_TRUNCATED 1 /* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits is done just by pretending it is already truncated. */