+2004-09-10 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/darwin.c, config/alpha/alpha.h, config/arm/arm.c,
+ config/arm/arm.h, config/arm/arm.md, config/arm/bpabi.h,
+ config/arm/predicates.md, config/frv/frv.c, config/frv/frv.md,
+ config/h8300/h8300.md, config/i386/gmm_malloc.h,
+ config/ia64/ia64.md, config/ip2k/libgcc.S,
+ config/mips/mips-ps-3d.md, config/mips/mips.c,
+ config/rs6000/rs6000.c, config/s390/s390.c,
+ config/sh/symbian.c: Fix comment typos.
+
2004-09-10 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.c (s390_emit_prologue): Added missing
Note that small vector types can get mapped onto integer modes at the
whim of not appearing in alpha-modes.def. We never promoted these
- values before; don't do so now that we've trimed the set of modes to
+ values before; don't do so now that we've trimmed the set of modes to
those actually implemented in the backend. */
#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \
return count;
}
-/* Set up library functions uqniue to ARM. */
+/* Set up library functions unique to ARM. */
static void
arm_init_libfuncs (void)
set_optab_libfunc (neg_optab, DFmode, "__aeabi_dneg");
set_optab_libfunc (sub_optab, DFmode, "__aeabi_dsub");
- /* Double-precision comparisions. Table 3. */
+ /* Double-precision comparisons. Table 3. */
set_optab_libfunc (eq_optab, DFmode, "__aeabi_dcmpeq");
set_optab_libfunc (ne_optab, DFmode, NULL);
set_optab_libfunc (lt_optab, DFmode, "__aeabi_dcmplt");
set_optab_libfunc (neg_optab, SFmode, "__aeabi_fneg");
set_optab_libfunc (sub_optab, SFmode, "__aeabi_fsub");
- /* Single-precision comparisions. Table 5. */
+ /* Single-precision comparisons. Table 5. */
set_optab_libfunc (eq_optab, SFmode, "__aeabi_fcmpeq");
set_optab_libfunc (ne_optab, SFmode, NULL);
set_optab_libfunc (lt_optab, SFmode, "__aeabi_fcmplt");
set_conv_libfunc (trunc_optab, SFmode, DFmode, "__aeabi_d2f");
set_conv_libfunc (sext_optab, DFmode, SFmode, "__aeabi_f2d");
- /* Integer to floating-point converisons. Table 8. */
+ /* Integer to floating-point conversions. Table 8. */
set_conv_libfunc (sfloat_optab, DFmode, SImode, "__aeabi_i2d");
set_conv_libfunc (ufloat_optab, DFmode, SImode, "__aeabi_ui2d");
set_conv_libfunc (sfloat_optab, DFmode, DImode, "__aeabi_l2d");
{
if (flag_function_sections
|| DECL_SECTION_NAME (current_function_decl))
- /* c.3 is handled by the defintion of the
+ /* c.3 is handled by the definition of the
ARM_DECLARE_FUNCTION_SIZE macro. */
return 1;
}
return;
}
- /* Load the pic recister before setting the frame pointer, so we can use r7
+ /* Load the pic register before setting the frame pointer, so we can use r7
as a temporary work register. */
if (flag_pic)
arm_load_pic_register ();
/* Set the short-call flag for any function compiled in the current
compilation unit. We skip this for functions with the section
- attirubte when long-calls are in effect as this tells the compiler
+ attribute when long-calls are in effect as this tells the compiler
that the section might be placed a long way from the caller.
See arm_is_longcall_p() for more information. */
#define ARM_DECLARE_FUNCTION_SIZE(STREAM, NAME, DECL) \
(VUNSPEC_WCMP_EQ 11) ; Used by the iWMMXt WCMPEQ instructions
(VUNSPEC_WCMP_GTU 12) ; Used by the iWMMXt WCMPGTU instructions
(VUNSPEC_WCMP_GT 13) ; Used by the iwMMXT WCMPGT instructions
- (VUNSPEC_EH_RETURN 20); Use to overrite the return address for exception
+ (VUNSPEC_EH_RETURN 20); Use to override the return address for exception
; handling.
]
)
calling convention. */
#define FLOAT_LIB_COMPARE_RETURNS_BOOL(MODE, COMPARISON) TARGET_BPABI
-/* The BPABI integer comparision routines return { -1, 0, 1 }. */
+/* The BPABI integer comparison routines return { -1, 0, 1 }. */
#define TARGET_LIB_INT_CMP_BIASED !TARGET_BPABI
/* Tell the assembler to build BPABI binaries. */
(and (match_code "plus,minus,ior,xor,and")
(match_test "mode == GET_MODE (op)")))
-;; True for logical binary opertors.
+;; True for logical binary operators.
(define_special_predicate "logical_binary_operator"
(and (match_code "ior,xor,and")
(match_test "mode == GET_MODE (op)")))
are required by consumers of the generated code. Currently, gdb
uses this to patch in a jump to the overriding function, this
allows all uses of the old name to forward to the replacement,
- including existing function poiinters and virtual methods. See
+ including existing function pointers and virtual methods. See
rs6000_emit_prologue for the code that handles the nop insertions.
The added indirection allows gdb to redirect accesses to static
- Conditional instructions are scheduled on the assumption that
they will be executed. This is usually a good thing, since it
- tends to avoid unncessary stalls in the conditional code.
+ tends to avoid unnecessary stalls in the conditional code.
But we want to pack conditional instructions as tightly as
possible, in order to optimize the case where they aren't
executed.
/* ACCs and ACCGs are implicity global registers if media instrinsics
are being used. We set up this lazily to avoid creating lots of
- unncessary call_insn rtl in non-media code. */
+ unnecessary call_insn rtl in non-media code. */
for (i = 0; i <= ACC_MASK; i++)
if ((i & ACC_MASK) == i)
global_regs[i + ACC_FIRST] = global_regs[i + ACCG_FIRST] = 1;
}
/* IACCs are implicity global registers. We set up this lazily to
- avoid creating lots of unncessary call_insn rtl when IACCs aren't
+ avoid creating lots of unnecessary call_insn rtl when IACCs aren't
being used. */
regno = INTVAL (op) + IACC_FIRST;
for (i = 0; i < HARD_REGNO_NREGS (regno, mode); i++)
;; X + L when each S''[X] is added. If so, set S to the
;; concatenation of S[0]...S[L-1] and S'', then goto (i).
;;
-;; (h) If (g) found no permuation, abort.
+;; (h) If (g) found no permutation, abort.
;;
;; (i) S is now the sorted sequence for this group, meaning that S[X]
;; issues to unit X. Trim any unwanted nops from the end of S.
(match_operand 3 "h8300_src_operand" "")]))
(set (match_operand 4 "memory_operand" "")
(match_dup 0))]
- "0 /* Disabale because it break compiling fp-bit.c. */
+ "0 /* Disable because it breaks compiling fp-bit.c. */
&& TARGET_H8300SX
&& peep2_reg_dead_p (3, operands[0])
&& !reg_overlap_mentioned_p (operands[0], operands[3])
(match_operator 3 "h8sx_binary_memory_operator"
[(match_operand 4 "h8300_dst_operand" "")
(match_dup 0)]))]
- "0 /* Disabale because it break compiling fp-bit.c. */
+ "0 /* Disable because it breaks compiling fp-bit.c. */
&& TARGET_H8300SX
&& peep2_reg_dead_p (2, operands[0])
&& !reg_overlap_mentioned_p (operands[0], operands[4])"
return ((void *) 0);
/* Assume malloc'd pointer is aligned at least to sizeof (void*).
- If necesary, add another sizeof (void*) to store the value
+ If necessary, add another sizeof (void*) to store the value
returned by malloc. Effectively this enforces a minimum alignment
of sizeof double. */
if (align < 2 * sizeof (void *))
(and (match_code "const_int")
(match_test "INTVAL (op) >= 0 && INTVAL (op) < 32")))
-;; True if OP is one of the immediate valuse 2, 4, 8, or 16.
+;; True if OP is one of the immediate values 2, 4, 8, or 16.
(define_predicate "shladd_operand"
(and (match_code "const_int")
(match_test "INTVAL (op) == 2 || INTVAL (op) == 4 ||
#endif
#if defined(Lwrite)
- /* Dummy entrypoint to suppress problems with glue code. */
+ /* Dummy entry point to suppress problems with glue code. */
.sect .text.libgcc,"ax"
.global _write
.func write, _write
(set_attr "mode" "SF")])
;----------------------------------------------------------------------------
-; Floating Point Comparisions for Scalars
+; Floating Point Comparisons for Scalars
;----------------------------------------------------------------------------
(define_insn "mips_cabs_cond_<fmt>"
;----------------------------------------------------------------------------
-; Floating Point Comparisions for Four Singles
+; Floating Point Comparisons for Four Singles
;----------------------------------------------------------------------------
(define_insn_and_split "mips_c_cond_4s"
;----------------------------------------------------------------------------
-; Floating Point Comparisions for Paired Singles
+; Floating Point Comparisons for Paired Singles
;----------------------------------------------------------------------------
(define_insn "mips_c_cond_ps"
Given the choice between "li R1,0...255" and "move R1,R2"
(where R2 is a known constant), it is usually better to use "li",
- since we do not want to unnessarily extend the lifetime of R2. */
+ since we do not want to unnecessarily extend the lifetime of R2. */
if (outer_code == SET
&& INTVAL (x) >= 0
&& INTVAL (x) < 256)
/* Expand a __builtin_mips_movt_*_ps() or __builtin_mips_movf_*_ps()
function (TYPE says which). ARGLIST is the list of arguments to the
function, ICODE is the instruction that should be used to compare
- the first two arguments, and COND is the conditon it should test.
+ the first two arguments, and COND is the condition it should test.
TARGET, if nonnull, suggests a good place to put the result. */
static rtx
case MEM:
/* When optimizing for size, MEM should be slightly more expensive
than generating address, e.g., (plus (reg) (const)).
- L1 cache latecy is about two instructions. */
+ L1 cache latency is about two instructions. */
*total = optimize_size ? COSTS_N_INSNS (1) + 1 : COSTS_N_INSNS (2);
return true;
return FALSE;
}
-/* Return 1 if it is valid *and* preferrable to use LA to
+/* Return 1 if it is valid *and* preferable to use LA to
compute the sum of OP1 and OP2. */
int
/* Remove DLL_IMPORT_PREFIX.
Note - we do not issue a warning here. In Symbian's environment it
is legitimate for a prototype to be marked as dllimport and the
- corresponding defintion to be marked as dllexport. The prototypes
- are in headers used everywhere and the defintion is in a translation
+ corresponding definition to be marked as dllexport. The prototypes
+ are in headers used everywhere and the definition is in a translation
unit which has included the header in order to ensure argument
correctness. */
oldname += strlen (DLL_IMPORT_PREFIX);
}
}
- /* If the node is an overloaded constructor or desctructor, then we must
- make sure that the attribute is propogated along the overload chain,
+ /* If the node is an overloaded constructor or destructor, then we must
+ make sure that the attribute is propagated along the overload chain,
as it is these overloaded functions which will be emitted, rather than
the user declared constructor itself. */
if (TREE_CODE (TREE_TYPE (node)) == METHOD_TYPE
symbian_add_attribute (function, attr);
- /* Propogate the attribute to any function thunks as well. */
+ /* Propagate the attribute to any function thunks as well. */
for (thunk = DECL_THUNKS (function); thunk; thunk = TREE_CHAIN (thunk))
if (TREE_CODE (thunk) == FUNCTION_DECL)
symbian_add_attribute (thunk, attr);
if (TREE_CODE (node) == FUNCTION_DECL && DECL_VIRTUAL_P (node))
{
- /* Propogate the attribute to any thunks of this function. */
+ /* Propagate the attribute to any thunks of this function. */
for (thunk = DECL_THUNKS (node); thunk; thunk = TREE_CHAIN (thunk))
if (TREE_CODE (thunk) == FUNCTION_DECL)
symbian_add_attribute (thunk, attr);
return import_export;
}
-/* Dummy defintion of this array for cc1 building purposes. */
+/* Dummy definition of this array for cc1 building purposes. */
tree cp_global_trees[CPTI_MAX] __attribute__((weak));
#if defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 2007)