* config/bfin/bfin.h (REG_CLASS_FROM_LETTER): Rename constraint 'B'
authorjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Jun 2006 10:30:23 +0000 (10:30 +0000)
committerjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Jun 2006 10:30:23 +0000 (10:30 +0000)
to 'v', 'l' to 'u'.
* config/bfin/bfin.md: Change comment accordingly.
(define_insn loop_end): Replace 'h' with 'v'.
(lsetup_with_autoinit): Replace 'l' with 'u'.
(lsetup_without_autoinit): Ditto.
* md.texi: Record this change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114756 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/bfin/bfin.h
gcc/config/bfin/bfin.md
gcc/doc/md.texi

index 732a9b8..1631a37 100644 (file)
@@ -548,13 +548,13 @@ enum reg_class
    (LETTER) == 'A' ? EVEN_AREGS :      \
    (LETTER) == 'B' ? ODD_AREGS :       \
    (LETTER) == 'b' ? IREGS :            \
-   (LETTER) == 'B' ? BREGS :            \
+   (LETTER) == 'v' ? BREGS :            \
    (LETTER) == 'f' ? MREGS :           \
    (LETTER) == 'c' ? CIRCREGS :         \
    (LETTER) == 'C' ? CCREGS :          \
    (LETTER) == 't' ? LT_REGS :                 \
    (LETTER) == 'k' ? LC_REGS :                 \
-   (LETTER) == 'l' ? LB_REGS :                 \
+   (LETTER) == 'u' ? LB_REGS :                 \
    (LETTER) == 'x' ? MOST_REGS :       \
    (LETTER) == 'y' ? PROLOGUE_REGS :   \
    (LETTER) == 'w' ? NON_A_CC_REGS :   \
index 2c6e0c7..c22663c 100644 (file)
 ;     e  (a0, a1)
 ;     b  (i0..i3)
 ;     f  (m0..m3)
-;     B
-;     c (i0..i3,m0..m3) CIRCREGS
-;     C (CC)            CCREGS
+;     v  (b0..b3)
+;     c  (i0..i3,m0..m3) CIRCREGS
+;     C  (CC)            CCREGS
 ;     t  (lt0,lt1)
 ;     k  (lc0,lc1)
-;     l  (lb0,lb1)
+;     u  (lb0,lb1)
 ;
 
 ;; Define constants for hard registers.
 
 (define_insn "loop_end"
   [(set (pc)
-       (if_then_else (ne (match_operand:SI 0 "nonimmediate_operand" "+a*d,*b*h*f,m")
+       (if_then_else (ne (match_operand:SI 0 "nonimmediate_operand" "+a*d,*b*v*f,m")
                          (const_int 1))
                      (label_ref (match_operand 1 "" ""))
                      (pc)))
 (define_insn "lsetup_with_autoinit"
   [(set (match_operand:SI 0 "lt_register_operand" "=t")
        (label_ref (match_operand 1 "" "")))
-   (set (match_operand:SI 2 "lb_register_operand" "=l")
+   (set (match_operand:SI 2 "lb_register_operand" "=u")
        (label_ref (match_operand 3 "" "")))
    (set (match_operand:SI 4 "lc_register_operand" "=k")
        (match_operand:SI 5 "register_operand" "a"))]
 (define_insn "lsetup_without_autoinit"
   [(set (match_operand:SI 0 "lt_register_operand" "=t")
        (label_ref (match_operand 1 "" "")))
-   (set (match_operand:SI 2 "lb_register_operand" "=l")
+   (set (match_operand:SI 2 "lb_register_operand" "=u")
        (label_ref (match_operand 3 "" "")))
    (use (match_operand:SI 4 "lc_register_operand" "k"))]
   ""
index a6c4c2e..60ad8bc 100644 (file)
@@ -2172,7 +2172,7 @@ Odd-numbered accumulator register.
 @item b
 I register
 
-@item B
+@item v
 B register
 
 @item f
@@ -2184,6 +2184,15 @@ Registers used for circular buffering, i.e. I, B, or L registers.
 @item C
 The CC register.
 
+@item t
+LT0 or LT1.
+
+@item k
+LC0 or LC1.
+
+@item u
+LB0 or LB1.
+
 @item x
 Any D, P, B, M, I or L register.