diff options
author | Jie Zhang <jiez@gcc.gnu.org> | 2006-06-18 10:30:23 +0000 |
---|---|---|
committer | Jie Zhang <jiez@gcc.gnu.org> | 2006-06-18 10:30:23 +0000 |
commit | a9c46998892e1750613e81684b9c49ed42d4d841 (patch) | |
tree | efcb349f12c5433582d3e4c64b07b9942fd35048 /gcc/config | |
parent | 40327e038eae1936afa50e84f02b25ef8f2d3b85 (diff) | |
download | gcc-a9c46998892e1750613e81684b9c49ed42d4d841.zip gcc-a9c46998892e1750613e81684b9c49ed42d4d841.tar.gz gcc-a9c46998892e1750613e81684b9c49ed42d4d841.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/bfin/bfin.h | 4 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.md | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h index 732a9b8..1631a37 100644 --- a/gcc/config/bfin/bfin.h +++ b/gcc/config/bfin/bfin.h @@ -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 : \ diff --git a/gcc/config/bfin/bfin.md b/gcc/config/bfin/bfin.md index 2c6e0c7..c22663c 100644 --- a/gcc/config/bfin/bfin.md +++ b/gcc/config/bfin/bfin.md @@ -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"))] "" |