]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
m68k: Fix typos in various files
authorDhruv Chawla <dhruvc@nvidia.com>
Wed, 20 May 2026 11:39:12 +0000 (11:39 +0000)
committerDhruv Chawla <dhruvc@nvidia.com>
Mon, 1 Jun 2026 15:55:19 +0000 (21:25 +0530)
Signed-off-by: Dhruv Chawla <dhruvc@nvidia.com>
gcc/ChangeLog:

* config/m68k/cf.md: Fix typos.
* config/m68k/m68k.cc (m68k_unwrap_symbol): Likewise.
(m68k_adjust_decorated_operand): Likewise.
(m68k_call_tls_get_addr): Likewise.
(m68k_call_m68k_read_tp): Likewise.
(m68k_sched_attr_size): Likewise.
(m68k_sched_dfa_post_advance_cycle): Likewise.
(sched_mem_operand_p): Likewise.
(m68k_sched_address_bypass_p): Likewise.
* config/m68k/m68kelf.h: Likewise.
* config/m68k/netbsd-elf.h (REGISTER_PREFIX): Likewise.

gcc/config/m68k/cf.md
gcc/config/m68k/m68k.cc
gcc/config/m68k/m68kelf.h
gcc/config/m68k/netbsd-elf.h

index 241fb52907b022536a2c44f2cba36a8fab68303f..3a8d1bef18fd3bbbaa4c3f44749a4e8721ff9337 100644 (file)
 ;; Call instruction.
 ;; ??? It's not clear what reservation is best to use for calls.
 ;; ??? For now we use mem-write + return reservations to reflect the fact of
-;; ??? pushing and poping return address to and from the stack.
+;; ??? pushing and popping return address to and from the stack.
 ;; Takes 3 cycles.
 (define_reservation "cfv12_call" "cfv12_alu_01,cfv12_rts")
 ;; Takes 1/5 cycles.
 ;; Takes 1 cycles.
 (define_reservation "cfv3_bcc" "cfv123_alu_00")
 
-;; Unconditional branch instruciton.
+;; Unconditional branch instruction.
 ;; Takes 2 cycles.
 (define_reservation "cfv12_bra" "cfv12_alu_01")
 ;; Takes 1 cycles.
index 18fc2cacf43ce18f76f5aad4d29ec8c411caf51e..ee5210afedcc6c2b704856415eb6418a21dadbd3 100644 (file)
@@ -2521,7 +2521,7 @@ m68k_unwrap_symbol (rtx orig, bool unwrap_reloc32_p)
   return m68k_unwrap_symbol_1 (orig, unwrap_reloc32_p, NULL);
 }
 
-/* Adjust decorated address operand before outputing assembler for it.  */
+/* Adjust decorated address operand before outputting assembler for it.  */
 
 static void
 m68k_adjust_decorated_operand (rtx op)
@@ -2580,7 +2580,7 @@ m68k_adjust_decorated_operand (rtx op)
     }
 }
 
-/* Prescan insn before outputing assembler for it.  */
+/* Prescan insn before outputting assembler for it.  */
 
 void
 m68k_final_prescan_insn (rtx_insn *insn ATTRIBUTE_UNUSED,
@@ -2753,7 +2753,7 @@ m68k_call_tls_get_addr (rtx x, rtx eqv, enum m68k_reloc reloc)
   x = m68k_wrap_symbol (x, reloc, m68k_get_gp (), NULL_RTX);
 
   /* __tls_get_addr() is not a libcall, but emitting a libcall_value
-     is the simpliest way of generating a call.  The difference between
+     is the simplest way of generating a call.  The difference between
      __tls_get_addr() and libcall is that the result is returned in D0
      instead of A0.  To workaround this, we use m68k_libcall_value_in_a0_p
      which temporarily switches returning the result to A0.  */
@@ -2800,7 +2800,7 @@ m68k_call_m68k_read_tp (void)
   start_sequence ();
 
   /* __m68k_read_tp() is not a libcall, but emitting a libcall_value
-     is the simpliest way of generating a call.  The difference between
+     is the simplest way of generating a call.  The difference between
      __m68k_read_tp() and libcall is that the result is returned in D0
      instead of A0.  To workaround this, we use m68k_libcall_value_in_a0_p
      which temporarily switches returning the result to A0.  */
@@ -6359,7 +6359,7 @@ m68k_sched_attr_size (rtx_insn *insn)
 }
 
 /* Return operand X or Y (depending on OPX_P) of INSN,
-   if it is a MEM, or NULL overwise.  */
+   if it is a MEM, or NULL otherwise.  */
 static enum attr_op_type
 sched_get_opxy_mem_type (rtx_insn *insn, bool opx_p)
 {
@@ -6900,7 +6900,7 @@ m68k_sched_dfa_post_advance_cycle (void)
 }
 
 /* Return X or Y (depending on OPX_P) operand of INSN,
-   if it is an integer register, or NULL overwise.  */
+   if it is an integer register, or NULL otherwise.  */
 static rtx
 sched_get_reg_operand (rtx_insn *insn, bool opx_p)
 {
@@ -6949,7 +6949,7 @@ sched_mem_operand_p (rtx_insn *insn, bool opx_p)
 }
 
 /* Return X or Y (depending on OPX_P) operand of INSN,
-   if it is a MEM, or NULL overwise.  */
+   if it is a MEM, or NULL otherwise.  */
 static rtx
 sched_get_mem_operand (rtx_insn *insn, bool must_read_p, bool must_write_p)
 {
@@ -7004,7 +7004,7 @@ m68k_sched_address_bypass_p (rtx_insn *pro, rtx_insn *con)
 
 /* Helper function for m68k_sched_indexed_address_bypass_p.
    if PRO modifies register used as index in CON,
-   return scale of indexed memory access in CON.  Return zero overwise.  */
+   return scale of indexed memory access in CON.  Return zero otherwise.  */
 static int
 sched_get_indexed_address_scale (rtx_insn *pro, rtx_insn *con)
 {
index c9ed6e96d2c0dabfb47b3813b2d5c8bd0208743c..7f48959f8ce3c3f043e14c0f7abc2f5eeac7f093 100644 (file)
@@ -104,7 +104,7 @@ do {                                                                \
 #define DEBUGGER_REGNO(REGNO) (REGNO)
 
 #if 0
-/* SVR4 m68k assembler is bitching on the `comm i,1,1' which askes for
+/* SVR4 m68k assembler is bitching on the `comm i,1,1' which asks for
    1 byte alignment. Don't generate alignment for COMMON seems to be
    safer until we the assembler is fixed.  */
 #undef ASM_OUTPUT_ALIGNED_COMMON
index c85c366c047d5e9c509db674ffb361bf365ef117..0863b622866e4389a91e15e36d60b03637364751 100644 (file)
@@ -104,7 +104,7 @@ while (0)
 #define REGISTER_PREFIX "%"
 
 
-/* The prefix for local (compiler generated) lables.
+/* The prefix for local (compiler generated) labels.
    These labels will not appear in the symbol table.  */
 
 #undef LOCAL_LABEL_PREFIX