diff options
author | Richard Henderson <rth@redhat.com> | 2010-11-15 17:32:56 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2010-11-15 17:32:56 -0800 |
commit | 93f9a911c3654b6c29012bdff2487603aef6fa3f (patch) | |
tree | 0fd83abcf9cde966df7cc8ecc71d998558002f73 | |
parent | be2fbfb6a6d0b2421f7d750b0651b09b8edbba33 (diff) | |
download | gcc-93f9a911c3654b6c29012bdff2487603aef6fa3f.zip gcc-93f9a911c3654b6c29012bdff2487603aef6fa3f.tar.gz gcc-93f9a911c3654b6c29012bdff2487603aef6fa3f.tar.bz2 |
mn10300.md (fmasf4, [...]): Rename from fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4 respectively.
* config/mn10300/mn10300.md (fmasf4, fmssf4, fnmasf4, fnmssf4): Rename
from fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4 respectively. Use
fma rtx_code.
From-SVN: r166790
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.md | 40 |
2 files changed, 26 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3c08537..2d6dd42 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2010-11-15 Richard Henderson <rth@redhat.com> + * config/mn10300/mn10300.md (fmasf4, fmssf4, fnmasf4, fnmssf4): Rename + from fmaddsf4, fmsubsf4, fnmaddsf4, fnmsubsf4 respectively. Use + fma rtx_code. + +2010-11-15 Richard Henderson <rth@redhat.com> + * config/frv/frv.md (fmasf4, fmssf4): Rename from *muladdsf4 and *mulsubsf4 respectively. Use fma rtx_code. diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md index 9f2fc9f..1028357 100644 --- a/gcc/config/mn10300/mn10300.md +++ b/gcc/config/mn10300/mn10300.md @@ -2866,11 +2866,11 @@ ] ) -(define_insn "fmaddsf4" - [(set (match_operand:SF 0 "register_operand" "=A") - (plus:SF (mult:SF (match_operand:SF 1 "register_operand" "%f") - (match_operand:SF 2 "register_operand" "f")) - (match_operand:SF 3 "register_operand" "f"))) +(define_insn "fmasf4" + [(set (match_operand:SF 0 "register_operand" "=A") + (fma:SF (match_operand:SF 1 "register_operand" "f") + (match_operand:SF 2 "register_operand" "f") + (match_operand:SF 3 "register_operand" "f"))) (clobber (reg:CC_FLOAT CC_REG)) ] "TARGET_AM33_2" @@ -2879,11 +2879,11 @@ (const_int 17) (const_int 24)))] ) -(define_insn "fmsubsf4" - [(set (match_operand:SF 0 "register_operand" "=A") - (minus:SF (mult:SF (match_operand:SF 1 "register_operand" "%f") - (match_operand:SF 2 "register_operand" "f")) - (match_operand:SF 3 "register_operand" "f"))) +(define_insn "fmssf4" + [(set (match_operand:SF 0 "register_operand" "=A") + (fma:SF (match_operand:SF 1 "register_operand" "f") + (match_operand:SF 2 "register_operand" "f") + (neg:SF (match_operand:SF 3 "register_operand" "f")))) (clobber (reg:CC_FLOAT CC_REG)) ] "TARGET_AM33_2" @@ -2892,11 +2892,11 @@ (const_int 17) (const_int 24)))] ) -(define_insn "fnmaddsf4" - [(set (match_operand:SF 0 "register_operand" "=A") - (minus:SF (match_operand:SF 3 "register_operand" "f") - (mult:SF (match_operand:SF 1 "register_operand" "%f") - (match_operand:SF 2 "register_operand" "f")))) +(define_insn "fnmasf4" + [(set (match_operand:SF 0 "register_operand" "=A") + (fma:SF (neg:SF (match_operand:SF 1 "register_operand" "f")) + (match_operand:SF 2 "register_operand" "f") + (match_operand:SF 3 "register_operand" "f"))) (clobber (reg:CC_FLOAT CC_REG)) ] "TARGET_AM33_2" @@ -2905,11 +2905,11 @@ (const_int 17) (const_int 24)))] ) -(define_insn "fnmsubsf4" - [(set (match_operand:SF 0 "register_operand" "=A") - (minus:SF (neg:SF (mult:SF (match_operand:SF 1 "register_operand" "%f") - (match_operand:SF 2 "register_operand" "f"))) - (match_operand:SF 3 "register_operand" "f"))) +(define_insn "fnmssf4" + [(set (match_operand:SF 0 "register_operand" "=A") + (fma:SF (neg:SF (match_operand:SF 1 "register_operand" "f")) + (match_operand:SF 2 "register_operand" "f") + (neg:SF (match_operand:SF 3 "register_operand" "f")))) (clobber (reg:CC_FLOAT CC_REG)) ] "TARGET_AM33_2" |