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
This commit is contained in:
Jie Zhang 2006-06-18 10:30:23 +00:00
parent 40327e038e
commit a9c4699889
3 changed files with 19 additions and 10 deletions

View 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 : \

View File

@ -46,12 +46,12 @@
; 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.
@ -1555,7 +1555,7 @@
(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)))
@ -1597,7 +1597,7 @@
(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"))]
@ -1608,7 +1608,7 @@
(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"))]
""

View 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.