diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2004-08-25 19:35:05 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-08-25 19:35:05 +0000 |
commit | 41a21e1d8b4bf5ed02dd953d8059c6c311f89edf (patch) | |
tree | 9b22d3c5afc51dca6943396ae9f4aa210508f6d7 /gcc/config/mips/mips.md | |
parent | 837869a5bd0279f0f6ce2a1b529c539ce70e7bd6 (diff) | |
download | gcc-41a21e1d8b4bf5ed02dd953d8059c6c311f89edf.zip gcc-41a21e1d8b4bf5ed02dd953d8059c6c311f89edf.tar.gz gcc-41a21e1d8b4bf5ed02dd953d8059c6c311f89edf.tar.bz2 |
mips.md (reg): Renamed mode attribute from ccreg.
* config/mips/mips.md (reg): Renamed mode attribute from ccreg.
(*mov*_on_*): Adjust accordingly. Add an explicit MOVECC: prefix.
From-SVN: r86568
Diffstat (limited to 'gcc/config/mips/mips.md')
-rw-r--r-- | gcc/config/mips/mips.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 7f1af46..12d0a59 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -310,9 +310,9 @@ ;; field but the equivalent daddiu has only a 5-bit field. (define_mode_attr si8_di5 [(SI "8") (DI "5")]) -;; In MOVECC templates, this attribute gives the constraint to use -;; for the condition register. -(define_mode_attr ccreg [(SI "d") (DI "d") (CC "z")]) +;; This attribute gives the best constraint to use for registers of +;; a given mode. +(define_mode_attr reg [(SI "d") (DI "d") (CC "z")]) ;; This code macro allows all branch instructions to be generated from ;; a single define_expand template. @@ -5688,7 +5688,7 @@ beq\t%2,%.,1b\;\ [(set (match_operand:GPR 0 "register_operand" "=d,d") (if_then_else:GPR (match_operator:MOVECC 4 "equality_operator" - [(match_operand:MOVECC 1 "register_operand" "<ccreg>,<ccreg>") + [(match_operand:MOVECC 1 "register_operand" "<MOVECC:reg>,<MOVECC:reg>") (const_int 0)]) (match_operand:GPR 2 "reg_or_0_operand" "dJ,0") (match_operand:GPR 3 "reg_or_0_operand" "0,dJ")))] @@ -5703,7 +5703,7 @@ beq\t%2,%.,1b\;\ [(set (match_operand:SF 0 "register_operand" "=f,f") (if_then_else:SF (match_operator:MOVECC 4 "equality_operator" - [(match_operand:MOVECC 1 "register_operand" "<ccreg>,<ccreg>") + [(match_operand:MOVECC 1 "register_operand" "<MOVECC:reg>,<MOVECC:reg>") (const_int 0)]) (match_operand:SF 2 "register_operand" "f,0") (match_operand:SF 3 "register_operand" "0,f")))] @@ -5718,7 +5718,7 @@ beq\t%2,%.,1b\;\ [(set (match_operand:DF 0 "register_operand" "=f,f") (if_then_else:DF (match_operator:MOVECC 4 "equality_operator" - [(match_operand:MOVECC 1 "register_operand" "<ccreg>,<ccreg>") + [(match_operand:MOVECC 1 "register_operand" "<MOVECC:reg>,<MOVECC:reg>") (const_int 0)]) (match_operand:DF 2 "register_operand" "f,0") (match_operand:DF 3 "register_operand" "0,f")))] |