Commit a9c46998 by Jie Zhang

bfin.h (REG_CLASS_FROM_LETTER): Rename constraint 'B' to 'v', 'l' to 'u'.

	* config/bfin/bfin.h (REG_CLASS_FROM_LETTER): Rename constraint 'B'
	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.

From-SVN: r114756
parent 40327e03
...@@ -548,13 +548,13 @@ enum reg_class ...@@ -548,13 +548,13 @@ enum reg_class
(LETTER) == 'A' ? EVEN_AREGS : \ (LETTER) == 'A' ? EVEN_AREGS : \
(LETTER) == 'B' ? ODD_AREGS : \ (LETTER) == 'B' ? ODD_AREGS : \
(LETTER) == 'b' ? IREGS : \ (LETTER) == 'b' ? IREGS : \
(LETTER) == 'B' ? BREGS : \ (LETTER) == 'v' ? BREGS : \
(LETTER) == 'f' ? MREGS : \ (LETTER) == 'f' ? MREGS : \
(LETTER) == 'c' ? CIRCREGS : \ (LETTER) == 'c' ? CIRCREGS : \
(LETTER) == 'C' ? CCREGS : \ (LETTER) == 'C' ? CCREGS : \
(LETTER) == 't' ? LT_REGS : \ (LETTER) == 't' ? LT_REGS : \
(LETTER) == 'k' ? LC_REGS : \ (LETTER) == 'k' ? LC_REGS : \
(LETTER) == 'l' ? LB_REGS : \ (LETTER) == 'u' ? LB_REGS : \
(LETTER) == 'x' ? MOST_REGS : \ (LETTER) == 'x' ? MOST_REGS : \
(LETTER) == 'y' ? PROLOGUE_REGS : \ (LETTER) == 'y' ? PROLOGUE_REGS : \
(LETTER) == 'w' ? NON_A_CC_REGS : \ (LETTER) == 'w' ? NON_A_CC_REGS : \
......
...@@ -46,12 +46,12 @@ ...@@ -46,12 +46,12 @@
; e (a0, a1) ; e (a0, a1)
; b (i0..i3) ; b (i0..i3)
; f (m0..m3) ; f (m0..m3)
; B ; v (b0..b3)
; c (i0..i3,m0..m3) CIRCREGS ; c (i0..i3,m0..m3) CIRCREGS
; C (CC) CCREGS ; C (CC) CCREGS
; t (lt0,lt1) ; t (lt0,lt1)
; k (lc0,lc1) ; k (lc0,lc1)
; l (lb0,lb1) ; u (lb0,lb1)
; ;
;; Define constants for hard registers. ;; Define constants for hard registers.
...@@ -1555,7 +1555,7 @@ ...@@ -1555,7 +1555,7 @@
(define_insn "loop_end" (define_insn "loop_end"
[(set (pc) [(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)) (const_int 1))
(label_ref (match_operand 1 "" "")) (label_ref (match_operand 1 "" ""))
(pc))) (pc)))
...@@ -1597,7 +1597,7 @@ ...@@ -1597,7 +1597,7 @@
(define_insn "lsetup_with_autoinit" (define_insn "lsetup_with_autoinit"
[(set (match_operand:SI 0 "lt_register_operand" "=t") [(set (match_operand:SI 0 "lt_register_operand" "=t")
(label_ref (match_operand 1 "" ""))) (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 "" ""))) (label_ref (match_operand 3 "" "")))
(set (match_operand:SI 4 "lc_register_operand" "=k") (set (match_operand:SI 4 "lc_register_operand" "=k")
(match_operand:SI 5 "register_operand" "a"))] (match_operand:SI 5 "register_operand" "a"))]
...@@ -1608,7 +1608,7 @@ ...@@ -1608,7 +1608,7 @@
(define_insn "lsetup_without_autoinit" (define_insn "lsetup_without_autoinit"
[(set (match_operand:SI 0 "lt_register_operand" "=t") [(set (match_operand:SI 0 "lt_register_operand" "=t")
(label_ref (match_operand 1 "" ""))) (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 "" ""))) (label_ref (match_operand 3 "" "")))
(use (match_operand:SI 4 "lc_register_operand" "k"))] (use (match_operand:SI 4 "lc_register_operand" "k"))]
"" ""
......
...@@ -2172,7 +2172,7 @@ Odd-numbered accumulator register. ...@@ -2172,7 +2172,7 @@ Odd-numbered accumulator register.
@item b @item b
I register I register
@item B @item v
B register B register
@item f @item f
...@@ -2184,6 +2184,15 @@ Registers used for circular buffering, i.e. I, B, or L registers. ...@@ -2184,6 +2184,15 @@ Registers used for circular buffering, i.e. I, B, or L registers.
@item C @item C
The CC register. The CC register.
@item t
LT0 or LT1.
@item k
LC0 or LC1.
@item u
LB0 or LB1.
@item x @item x
Any D, P, B, M, I or L register. Any D, P, B, M, I or L register.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment