Commit 7a085dce by Kazu Hirata Committed by Kazu Hirata

arm.c, [...]: Fix comment typos.

	* config/arm/arm.c, config/arm/arm.h, config/arm/arm.md,
	config/arm/thumb2.md: Fix comment typos.
	* doc/extend.texi: Fix a typo.

From-SVN: r120566
parent cf7cf214
2007-01-08 Kazu Hirata <kazu@codesourcery.com>
* config/arm/arm.c, config/arm/arm.h, config/arm/arm.md,
config/arm/thumb2.md: Fix comment typos.
* doc/extend.texi: Fix a typo.
2007-01-07 Eric Christopher <echristo@apple.com> 2007-01-07 Eric Christopher <echristo@apple.com>
* configure.ac: Check for __stack_chk_fail for darwin. * configure.ac: Check for __stack_chk_fail for darwin.
......
...@@ -449,7 +449,7 @@ static int thumb_call_reg_needed; ...@@ -449,7 +449,7 @@ static int thumb_call_reg_needed;
#define FL_THUMB2 (1 << 16) /* Thumb-2. */ #define FL_THUMB2 (1 << 16) /* Thumb-2. */
#define FL_NOTM (1 << 17) /* Instructions not present in the 'M' #define FL_NOTM (1 << 17) /* Instructions not present in the 'M'
profile. */ profile. */
#define FL_DIV (1 << 18) /* Hardware divde. */ #define FL_DIV (1 << 18) /* Hardware divide. */
#define FL_IWMMXT (1 << 29) /* XScale v2 or "Intel Wireless MMX technology". */ #define FL_IWMMXT (1 << 29) /* XScale v2 or "Intel Wireless MMX technology". */
...@@ -2501,7 +2501,7 @@ arm_gen_constant (enum rtx_code code, enum machine_mode mode, rtx cond, ...@@ -2501,7 +2501,7 @@ arm_gen_constant (enum rtx_code code, enum machine_mode mode, rtx cond,
else else
i -= 7; i -= 7;
} }
/* Arm allows rotates by a multiple of two. Thumb-2 allows arbitary /* Arm allows rotates by a multiple of two. Thumb-2 allows arbitrary
shifts. */ shifts. */
if (TARGET_ARM) if (TARGET_ARM)
i -= 2; i -= 2;
...@@ -7702,11 +7702,11 @@ get_jump_table_size (rtx insn) ...@@ -7702,11 +7702,11 @@ get_jump_table_size (rtx insn)
switch (modesize) switch (modesize)
{ {
case 1: case 1:
/* Round up size of TBB table to a hafword boundary. */ /* Round up size of TBB table to a haflword boundary. */
size = (size + 1) & ~(HOST_WIDE_INT)1; size = (size + 1) & ~(HOST_WIDE_INT)1;
break; break;
case 2: case 2:
/* No padding neccessary for TBH. */ /* No padding necessary for TBH. */
break; break;
case 4: case 4:
/* Add two bytes for alignment on Thumb. */ /* Add two bytes for alignment on Thumb. */
...@@ -10448,7 +10448,7 @@ arm_output_epilogue (rtx sibling) ...@@ -10448,7 +10448,7 @@ arm_output_epilogue (rtx sibling)
if (frame_pointer_needed) if (frame_pointer_needed)
{ {
/* For Thumb-2 restore sp from the frame pointer. /* For Thumb-2 restore sp from the frame pointer.
Operand restrictions mean we have to incrememnt FP, then copy Operand restrictions mean we have to increment FP, then copy
to SP. */ to SP. */
amount = offsets->locals_base - offsets->saved_regs; amount = offsets->locals_base - offsets->saved_regs;
operands[0] = hard_frame_pointer_rtx; operands[0] = hard_frame_pointer_rtx;
...@@ -11116,7 +11116,7 @@ arm_compute_initial_elimination_offset (unsigned int from, unsigned int to) ...@@ -11116,7 +11116,7 @@ arm_compute_initial_elimination_offset (unsigned int from, unsigned int to)
} }
/* Emit RTL to save coprocessor registers on funciton entry. Returns the /* Emit RTL to save coprocessor registers on function entry. Returns the
number of bytes pushed. */ number of bytes pushed. */
static int static int
...@@ -11592,7 +11592,7 @@ arm_print_operand (FILE *stream, rtx x, int code) ...@@ -11592,7 +11592,7 @@ arm_print_operand (FILE *stream, rtx x, int code)
case '.': case '.':
/* The current condition code for a condition code setting instruction. /* The current condition code for a condition code setting instruction.
Preceeded by 's' in unified syntax, otherwise followed by 's'. */ Preceded by 's' in unified syntax, otherwise followed by 's'. */
if (TARGET_UNIFIED_ASM) if (TARGET_UNIFIED_ASM)
{ {
fputc('s', stream); fputc('s', stream);
...@@ -12240,7 +12240,7 @@ thumb2_final_prescan_insn (rtx insn) ...@@ -12240,7 +12240,7 @@ thumb2_final_prescan_insn (rtx insn)
continue; continue;
} }
/* ??? Recognise conditional jumps, and combine them with IT blocks. */ /* ??? Recognize conditional jumps, and combine them with IT blocks. */
if (GET_CODE (body) != COND_EXEC) if (GET_CODE (body) != COND_EXEC)
break; break;
/* Allow up to 4 conditionally executed instructions in a block. */ /* Allow up to 4 conditionally executed instructions in a block. */
...@@ -16473,7 +16473,7 @@ arm_output_addr_const_extra (FILE *fp, rtx x) ...@@ -16473,7 +16473,7 @@ arm_output_addr_const_extra (FILE *fp, rtx x)
/* Output assembly for a shift instruction. /* Output assembly for a shift instruction.
SET_FLAGS determines how the instruction modifies the condition codes. SET_FLAGS determines how the instruction modifies the condition codes.
0 - Do not set conditiona codes. 0 - Do not set condition codes.
1 - Set condition codes. 1 - Set condition codes.
2 - Use smallest instruction. */ 2 - Use smallest instruction. */
const char * const char *
......
...@@ -1881,7 +1881,7 @@ typedef struct ...@@ -1881,7 +1881,7 @@ typedef struct
#define ASM_OUTPUT_LABELREF(FILE, NAME) \ #define ASM_OUTPUT_LABELREF(FILE, NAME) \
arm_asm_output_labelref (FILE, NAME) arm_asm_output_labelref (FILE, NAME)
/* Output IT instructions for conditonally executed Thumb-2 instructions. */ /* Output IT instructions for conditionally executed Thumb-2 instructions. */
#define ASM_OUTPUT_OPCODE(STREAM, PTR) \ #define ASM_OUTPUT_OPCODE(STREAM, PTR) \
if (TARGET_THUMB2) \ if (TARGET_THUMB2) \
thumb2_asm_output_opcode (STREAM); thumb2_asm_output_opcode (STREAM);
...@@ -1962,7 +1962,7 @@ typedef struct ...@@ -1962,7 +1962,7 @@ typedef struct
The usual definition accepts all pseudo regs; the other rejects The usual definition accepts all pseudo regs; the other rejects
them unless they have been allocated suitable hard regs. them unless they have been allocated suitable hard regs.
The symbol REG_OK_STRICT causes the latter definition to be used. The symbol REG_OK_STRICT causes the latter definition to be used.
Thumb-2 has the same restictions as arm. */ Thumb-2 has the same restrictions as arm. */
#ifndef REG_OK_STRICT #ifndef REG_OK_STRICT
#define ARM_REG_OK_FOR_BASE_P(X) \ #define ARM_REG_OK_FOR_BASE_P(X) \
......
...@@ -10518,8 +10518,8 @@ ...@@ -10518,8 +10518,8 @@
/* For the StrongARM at least it is faster to /* For the StrongARM at least it is faster to
use STR to store only a single register. use STR to store only a single register.
In Thumb mode always use push, and the assmebler will pick In Thumb mode always use push, and the assembler will pick
something approporiate. */ something appropriate. */
if (num_saves == 1 && TARGET_ARM) if (num_saves == 1 && TARGET_ARM)
output_asm_insn (\"str\\t%1, [%m0, #-4]!\", operands); output_asm_insn (\"str\\t%1, [%m0, #-4]!\", operands);
else else
......
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
) )
;; Thumb-2 always has load/store halfword instructions, so we can avoid a lot ;; Thumb-2 always has load/store halfword instructions, so we can avoid a lot
;; of the messyness assocuated with the ARM patterns. ;; of the messyness associated with the ARM patterns.
(define_insn "*thumb2_movhi_insn" (define_insn "*thumb2_movhi_insn"
[(set (match_operand:HI 0 "nonimmediate_operand" "=r,r,m,r") [(set (match_operand:HI 0 "nonimmediate_operand" "=r,r,m,r")
(match_operand:HI 1 "general_operand" "rI,n,r,m"))] (match_operand:HI 1 "general_operand" "rI,n,r,m"))]
...@@ -858,7 +858,7 @@ ...@@ -858,7 +858,7 @@
"TARGET_THUMB2" "TARGET_THUMB2"
"* "*
/* ??? Output both instructions unconditionally, otherwise the conditional /* ??? Output both instructions unconditionally, otherwise the conditional
executon insn counter gets confused. execution insn counter gets confused.
if (REGNO (operands[1]) if (REGNO (operands[1])
!= REGNO (operands[0]) + (WORDS_BIG_ENDIAN ? 1 : 0)) */ != REGNO (operands[0]) + (WORDS_BIG_ENDIAN ? 1 : 0)) */
output_asm_insn (\"mov%?\\t%Q0, %1\", operands); output_asm_insn (\"mov%?\\t%Q0, %1\", operands);
...@@ -890,7 +890,7 @@ ...@@ -890,7 +890,7 @@
"TARGET_THUMB2" "TARGET_THUMB2"
"* "*
/* ??? Output both instructions unconditionally, otherwise the conditional /* ??? Output both instructions unconditionally, otherwise the conditional
executon insn counter gets confused. execution insn counter gets confused.
if (REGNO (operands[1]) if (REGNO (operands[1])
!= REGNO (operands[0]) + (WORDS_BIG_ENDIAN ? 1 : 0)) */ != REGNO (operands[0]) + (WORDS_BIG_ENDIAN ? 1 : 0)) */
output_asm_insn (\"mov%?\\t%Q0, %1\", operands); output_asm_insn (\"mov%?\\t%Q0, %1\", operands);
......
...@@ -1965,7 +1965,7 @@ void f () __attribute__ ((interrupt ("IRQ"))); ...@@ -1965,7 +1965,7 @@ void f () __attribute__ ((interrupt ("IRQ")));
Permissible values for this parameter are: IRQ, FIQ, SWI, ABORT and UNDEF@. Permissible values for this parameter are: IRQ, FIQ, SWI, ABORT and UNDEF@.
On ARMv7-M the interrupt type is ignored, and the attibute means the function On ARMv7-M the interrupt type is ignored, and the attribute means the function
may be called with a word aligned stack pointer. may be called with a word aligned stack pointer.
@item interrupt_handler @item interrupt_handler
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment