summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/440.md
diff options
context:
space:
mode:
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-23 16:34:01 +0000
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-23 16:34:01 +0000
commit18f0a24b677b550b7271d18959ba994a681af6a4 (patch)
treed417fa0a7609c8a27aadf4ffae909382785bf47a /gcc/config/rs6000/440.md
parent0bca1ae23eb0b2562af9a4212568fceda2e0761f (diff)
downloadgcc-18f0a24b677b550b7271d18959ba994a681af6a4.tar.gz
rs6000: New type attribute value "halfmul"
This is for the legacy integer multiply-accumulate instructions. Quite a mouthful, and "mulhw" is also a terrible name since we already have a machine instruction called exactly that. Hence "halfmul". Also fixes the titan automaton description for this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210866 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/440.md')
-rw-r--r--gcc/config/rs6000/440.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/440.md b/gcc/config/rs6000/440.md
index 2dcc58d6969..df3a3b5ecf1 100644
--- a/gcc/config/rs6000/440.md
+++ b/gcc/config/rs6000/440.md
@@ -76,7 +76,7 @@
"ppc440_issue,ppc440_i_pipe")
(define_insn_reservation "ppc440-imul2" 2
- (and (eq_attr "type" "imul2,imul3")
+ (and (eq_attr "type" "imul2,imul3,halfmul")
(eq_attr "cpu" "ppc440"))
"ppc440_issue,ppc440_i_pipe")