match.pd: Restrict division combining to trunc_div and exact_div.
2014-12-02 Richard Biener <rguenther@suse.de> * match.pd: Restrict division combining to trunc_div and exact_div. From-SVN: r218260
This commit is contained in:
parent
e1b7f42ec6
commit
280931058a
@ -1,3 +1,8 @@
|
|||||||
|
2014-12-02 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
|
* match.pd: Restrict division combining to trunc_div and
|
||||||
|
exact_div.
|
||||||
|
|
||||||
2014-12-02 Jakub Jelinek <jakub@redhat.com>
|
2014-12-02 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* config/sparc/sparc.c (sparc_atomic_assign_expand_fenv):
|
* config/sparc/sparc.c (sparc_atomic_assign_expand_fenv):
|
||||||
|
@ -129,8 +129,9 @@ along with GCC; see the file COPYING3. If not see
|
|||||||
&& TYPE_UNSIGNED (type))
|
&& TYPE_UNSIGNED (type))
|
||||||
(trunc_div @0 @1)))
|
(trunc_div @0 @1)))
|
||||||
|
|
||||||
/* Combine two successive divisions. */
|
/* Combine two successive divisions. Note that combining ceil_div
|
||||||
(for div (trunc_div ceil_div floor_div round_div exact_div)
|
and floor_div is trickier and combining round_div even more so. */
|
||||||
|
(for div (trunc_div exact_div)
|
||||||
(simplify
|
(simplify
|
||||||
(div (div @0 INTEGER_CST@1) INTEGER_CST@2)
|
(div (div @0 INTEGER_CST@1) INTEGER_CST@2)
|
||||||
(with {
|
(with {
|
||||||
|
Loading…
Reference in New Issue
Block a user