From: Dhruv Chawla <[email protected]>
Signed-off-by: Dhruv Chawla <[email protected]>
gcc/ChangeLog:
* config/msp430/msp430-opts.h (enum msp430_cpu_types): Fix typos.
* config/msp430/msp430.cc (msp430_op_not_in_high_mem): Likewise.
* config/msp430/msp430.md: Likewise.
---
gcc/config/msp430/msp430-opts.h | 2 +-
gcc/config/msp430/msp430.cc | 4 ++--
gcc/config/msp430/msp430.md | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/gcc/config/msp430/msp430-opts.h b/gcc/config/msp430/msp430-opts.h
index 9b363dc59d2..88c98dc919c 100644
--- a/gcc/config/msp430/msp430-opts.h
+++ b/gcc/config/msp430/msp430-opts.h
@@ -33,7 +33,7 @@ enum msp430_cpu_types
{
MSP430_CPU_MSP430,
MSP430_CPU_430,
- MSP430_CPU_MSP430X_DEFAULT, /* The default setting, which will be overriden
+ MSP430_CPU_MSP430X_DEFAULT, /* The default setting, which will be overridden
by any other -mcpu= value. */
MSP430_CPU_MSP430X,
MSP430_CPU_430X,
diff --git a/gcc/config/msp430/msp430.cc b/gcc/config/msp430/msp430.cc
index d78430f9368..671b95029d2 100644
--- a/gcc/config/msp430/msp430.cc
+++ b/gcc/config/msp430/msp430.cc
@@ -540,7 +540,7 @@ static char const * const
special_convention_function_names[] =
NULL
};
-/* TRUE if the function passed is a "speical" function. Special
+/* TRUE if the function passed is a "special" function. Special
functions pass two DImode parameters in registers. */
static bool
msp430_special_register_convention_p (const char *name)
@@ -4079,7 +4079,7 @@ msp430_op_not_in_high_mem (rtx op)
memory. */
return true;
- /* Check possibilites for (mem (plus)).
+ /* Check possibilities for (mem (plus)).
e.g. (mem (const (plus ((symbol_ref) (const_int))))) : &addr+2. */
if (msp430_check_plus_not_high_mem (op0)
|| ((GET_CODE (op0) == CONST)
diff --git a/gcc/config/msp430/msp430.md b/gcc/config/msp430/msp430.md
index d2add4b3a8c..c97a9e9ebde 100644
--- a/gcc/config/msp430/msp430.md
+++ b/gcc/config/msp430/msp430.md
@@ -84,7 +84,7 @@
;; dst operand is in op1.
;; This attribute also describes which operands are safe to examine
;; when calculating the length or extension. GCC will segfault trying to
-;; examine a non-existant operand of an insn.
+;; examine a non-existent operand of an insn.
(define_attr "type" "none,single,double,triple,cmp" (const_string "none"))
;; The M extension is for instructions like RRAM - they always
@@ -855,7 +855,7 @@
;; We get large code size bloat when a PSImode pointer is stored in
;; memory, so we try to avoid that where possible and keep point manipulation
;; between registers.
-; FIXME many of these should be unnnecessary once combine deals with
+; FIXME many of these should be unnecessary once combine deals with
; (sign_extend (zero_extend)) or (sign_extend (subreg)) BZ 91865.
;; This is just another way of writing movqipsi/zero_extendqipsi
@@ -1057,7 +1057,7 @@
;; accepts counts in registers, it does not work if the count is
;; zero, and the actual count in the register has to be one less
;; than the required number of iterations. We could encode a
-;; seqeunce like this:
+;; sequence like this:
;;
;; bit #0xf, Rn
;; bz 1f
--
2.43.0