--- gcc/config/tahoe.h 2018/04/24 17:51:34 1.1.1.1 +++ gcc/config/tahoe.h 2018/04/24 18:05:00 1.1.1.4 @@ -128,7 +128,7 @@ extern int target_flags; /* tahoe is picky about data alignment */ -#define STRICT_ALIGNMENT +#define STRICT_ALIGNMENT 1 /* keep things standard with pcc */ @@ -167,7 +167,7 @@ extern int target_flags; #define FIXED_REGISTERS {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0} -/* lots of regs aren't guarenteed to return from a call. The FPP reg */ +/* lots of regs aren't guaranteed to return from a call. The FPP reg */ /* must be included in these since it can't be saved by the reg mask */ #define CALL_USED_REGISTERS {1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1} @@ -256,15 +256,15 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP #define REGNO_REG_CLASS(REGNO) (REGNO == 16 ? FPP_REG : GENERAL_REGS) -/* only gereral registers can be used as a base reg */ +/* only general registers can be used as a base reg */ #define BASE_REG_CLASS GENERAL_REGS -/* only gereral registers can be used to index */ +/* only general registers can be used to index */ #define INDEX_REG_CLASS GENERAL_REGS -/* 'a' as a contraint in the md file means the FFP_REG class */ +/* 'a' as a constraint in the md file means the FFP_REG class */ #define REG_CLASS_FROM_LETTER(C) (C == 'a' ? FPP_REG : NO_REGS) @@ -454,7 +454,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP /* The following is all the code for GO_IF_LEGITIMATE_ADDRESS */ /* most of this taken directly from the vax tm file since the */ -/* tahoe and vax addressing modes are nearly identicle. */ +/* tahoe and vax addressing modes are nearly identical. */ /* Is x an indirectable address? */ @@ -513,7 +513,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP INDEX_TERM_P (xfooa, MODE))) \ goto ADDR; } } -/* Is the rtx X a valid memoy address for operand of mode MODE? */ +/* Is the rtx X a valid memory address for operand of mode MODE? */ /* If it is, go to ADDR */ #define GO_IF_LEGITIMATE_ADDRESS(MODE, X, ADDR) \ @@ -577,7 +577,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP #define CASE_VECTOR_MODE HImode -/* each of the table elements in a case are relative to the jump addess */ +/* each of the table elements in a case are relative to the jump address */ #define CASE_VECTOR_PC_RELATIVE @@ -647,7 +647,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP /* specify the costs of various sorts of constants, and also indicate that multiplication is cheap on this machine. */ -#define CONST_COSTS(RTX,CODE) \ +#define CONST_COSTS(RTX,CODE,OUTER_CODE) \ case CONST_INT: \ /* Constant zero is super cheap due to clr instruction. */ \ if (RTX == const0_rtx) return 0; \ @@ -798,7 +798,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP #define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ sprintf (LABEL, "*%s%d", PREFIX, NUM) -/* outputing a double is easy cause we only have one kind */ +/* outputting a double is easy cause we only have one kind */ #ifdef HCX_UX #define ASM_OUTPUT_DOUBLE(FILE,VALUE) \