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 | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index dc2be815ede..2d86a02dea1 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -725,8 +725,8 @@
     (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)
   ]
 )
 
@@ -898,16 +898,16 @@
   [(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")))]
 )
@@ -929,16 +929,16 @@
   [(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")))]
 )
-- 
2.34.1

Reply via email to