summaryrefslogtreecommitdiff
path: root/gcc/config/ia64/div.md
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-31 19:51:50 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-31 19:51:50 +0000
commit4e508025ecb527c36c59e2702b942def21914cdd (patch)
treea614a3a9bd174c90a990f183414397f6b35b4539 /gcc/config/ia64/div.md
parente911c0fee3781613eb99cbed3c6d2d5d9638360c (diff)
downloadgcc-4e508025ecb527c36c59e2702b942def21914cdd.tar.gz
PR target/35695
* config/ia64/div.md (recip_approx_rf): Use UNSPEC not DIV. * config/ia64/ia64.c (rtx_needs_barrier): Handle UNSPEC_FR_RECIP_APPROX_RES. * config/ia64/ia64.md (UNSPEC_FR_RECIP_APPROX_RES): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ia64/div.md')
-rw-r--r--gcc/config/ia64/div.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/ia64/div.md b/gcc/config/ia64/div.md
index a6547a680ff..45e745963c2 100644
--- a/gcc/config/ia64/div.md
+++ b/gcc/config/ia64/div.md
@@ -199,8 +199,9 @@
(define_insn "recip_approx_rf"
[(set (match_operand:RF 0 "fr_register_operand" "=f")
- (div:RF (match_operand:RF 1 "fr_register_operand" "f")
- (match_operand:RF 2 "fr_register_operand" "f")))
+ (unspec:RF [(match_operand:RF 1 "fr_register_operand" "f")
+ (match_operand:RF 2 "fr_register_operand" "f")]
+ UNSPEC_FR_RECIP_APPROX_RES))
(set (match_operand:BI 3 "register_operand" "=c")
(unspec:BI [(match_dup 1) (match_dup 2)] UNSPEC_FR_RECIP_APPROX))
(use (match_operand:SI 4 "const_int_operand" ""))]