aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-11-15 17:32:56 -0800
committerRichard Henderson <rth@gcc.gnu.org>2010-11-15 17:32:56 -0800
commit93f9a911c3654b6c29012bdff2487603aef6fa3f (patch)
tree0fd83abcf9cde966df7cc8ecc71d998558002f73 /gcc
parentbe2fbfb6a6d0b2421f7d750b0651b09b8edbba33 (diff)
downloadgcc-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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mn10300/mn10300.md40
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"