]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Fix spelling of BRANCH_LEN_N_1KiB
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 4 Aug 2025 03:00:52 +0000 (13:00 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 11 Aug 2025 23:25:08 +0000 (23:25 +0000)
One kilobyte not one kilobit.

gcc:
* config/aarch64/aarch64.md (BRANCH_LEN_N_1KiB): Rename
from BRANCH_LEN_N_1Kib.

gcc/config/aarch64/aarch64.md

index dc2be815ede6829aa6f8b1f435754c3e98fa5c12..2d86a02dea1dac54290ff66987fbde04ec0313c6 100644 (file)
     (BRANCH_LEN_N_32KiB -32768)
 
     ;; +/- 1KiB.  Used by CBB<cond>, CBH<cond>, CB<cond>.
-    (BRANCH_LEN_P_1Kib  1020)
-    (BRANCH_LEN_N_1Kib -1024)
+    (BRANCH_LEN_P_1KiB  1020)
+    (BRANCH_LEN_N_1KiB -1024)
   ]
 )
 
   [(set_attr "type" "branch")
    (set (attr "length")
        (if_then_else (and (ge (minus (match_dup 2) (pc))
-                              (const_int BRANCH_LEN_N_1Kib))
+                              (const_int BRANCH_LEN_N_1KiB))
                           (lt (minus (match_dup 2) (pc))
-                              (const_int BRANCH_LEN_P_1Kib)))
+                              (const_int BRANCH_LEN_P_1KiB)))
                      (const_int 4)
                      (const_int 8)))
    (set (attr "far_branch")
        (if_then_else (and (ge (minus (match_dup 2) (pc))
-                              (const_int BRANCH_LEN_N_1Kib))
+                              (const_int BRANCH_LEN_N_1KiB))
                           (lt (minus (match_dup 2) (pc))
-                              (const_int BRANCH_LEN_P_1Kib)))
+                              (const_int BRANCH_LEN_P_1KiB)))
                      (const_string "no")
                      (const_string "yes")))]
 )
   [(set_attr "type" "branch")
    (set (attr "length")
        (if_then_else (and (ge (minus (match_dup 2) (pc))
-                              (const_int BRANCH_LEN_N_1Kib))
+                              (const_int BRANCH_LEN_N_1KiB))
                           (lt (minus (match_dup 2) (pc))
-                              (const_int BRANCH_LEN_P_1Kib)))
+                              (const_int BRANCH_LEN_P_1KiB)))
                      (const_int 4)
                      (const_int 8)))
    (set (attr "far_branch")
        (if_then_else (and (ge (minus (match_dup 2) (pc))
-                              (const_int BRANCH_LEN_N_1Kib))
+                              (const_int BRANCH_LEN_N_1KiB))
                           (lt (minus (match_dup 2) (pc))
-                              (const_int BRANCH_LEN_P_1Kib)))
+                              (const_int BRANCH_LEN_P_1KiB)))
                      (const_string "no")
                      (const_string "yes")))]
 )