summaryrefslogtreecommitdiff
path: root/gcc/config/arm/vfp11.md
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2008-08-26 17:16:53 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2008-08-26 17:16:53 +0000
commita8e17e9ea71adffbceaecb8e217042a8f998bd93 (patch)
tree751c6b7b8ebe6005b0c413d0678452c37846286f /gcc/config/arm/vfp11.md
parentf08d75a9e666d5679af36ef4696c4fa820a7223b (diff)
downloadgcc-a8e17e9ea71adffbceaecb8e217042a8f998bd93.tar.gz
vfp.md: Document fmul{s,d} and fmac{s,d} types.
2008-08-28 Paul Brook <paul@codesourcery.com> * config/arm/vfp.md: Document fmul{s,d} and fmac{s,d} types. Remove documentation entry for fmul type. Use fmuls to annotate single-precision multiplication patterns, fmuld to annotate double-precision multiplication patterns, fmacs to annotate single-precision multiply-accumulate patterns and fmacd to annotate double-precision multiply-accumulate patterns. * config/arm/vfp11.md: Update reservations accordingly. * config/arm/arm.md: Note that certain values of the "type" attribute are documented in vfp.md. * config/arm/arm1020e.md: Remove out of date duplicate comment. (v10_cvt): Use new fmul types. From-SVN: r139604
Diffstat (limited to 'gcc/config/arm/vfp11.md')
-rw-r--r--gcc/config/arm/vfp11.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/vfp11.md b/gcc/config/arm/vfp11.md
index fa953d7c4b2..7b297d2ed86 100644
--- a/gcc/config/arm/vfp11.md
+++ b/gcc/config/arm/vfp11.md
@@ -57,12 +57,12 @@
(define_insn_reservation "vfp_farith" 8
(and (eq_attr "generic_vfp" "yes")
- (eq_attr "type" "farith,f_cvt"))
+ (eq_attr "type" "farith,f_cvt,fmuls,fmacs"))
"fmac")
(define_insn_reservation "vfp_fmul" 9
(and (eq_attr "generic_vfp" "yes")
- (eq_attr "type" "fmul"))
+ (eq_attr "type" "fmuld,fmacd"))
"fmac*2")
(define_insn_reservation "vfp_fdivs" 19