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

* config/rx/rx.cc (rx_print_operand): Fix typos.
(rx_expand_epilogue): Likewise.
* config/rx/rx.md: Likewise.

gcc/config/rx/rx.cc
gcc/config/rx/rx.md

index 4078580f6ad4ddb255e01376e585f893b1995ace..038f93431f43b27a84b773d3a71dae53dcd24865 100644 (file)
@@ -867,7 +867,7 @@ rx_print_operand (FILE * file, rtx op, int letter)
            rtx base = XEXP (op, 0);
            rtx index = XEXP (op, 1);
 
-           /* Check for a swaped index register and scaling factor.
+           /* Check for a swapped index register and scaling factor.
               Not sure if this can happen, but be prepared to handle it.  */
            if (CONST_INT_P (base) && REG_P (index))
              {
@@ -2081,7 +2081,7 @@ rx_expand_epilogue (bool is_sibcall)
   unsigned int reg;
   unsigned HOST_WIDE_INT total_size;
 
-  /* FIXME: We do not support indirect sibcalls at the moment becaause we
+  /* FIXME: We do not support indirect sibcalls at the moment because we
      cannot guarantee that the register holding the function address is a
      call-used register.  If it is a call-saved register then the stack
      pop instructions generated in the epilogue will corrupt the address
index b3398ab9fc53234485b3ce28e884c72f44d1b9f2..1bd80fd3e2e517de8d7d8a1cdcb1ee07432228cb 100644 (file)
 ;; combiner bridge patterns.  Especially when the memory operands have a
 ;; displacement, the resulting patterns look too complex.
 ;; Instead we manually look around the matched insn to see if there is a
-;; preceeding memory load and a following memory store of the modified register
+;; preceding memory load and a following memory store of the modified register
 ;; which can be fused into the single *_in_memory insn.
 ;; Do that before register allocation, as it can eliminate one temporary
 ;; register that needs to be allocated.