mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-08 14:41:14 +08:00
i386.md (mult->ashift peephole2s): Use pow2p_hwi instead of exact_log2.
* config/i386/i386.md (mult->ashift peephole2s): Use pow2p_hwi instead of exact_log2. From-SVN: r240281
This commit is contained in:
parent
3c1917945d
commit
ed34fc9723
@ -1,3 +1,8 @@
|
||||
2016-09-20 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.md (mult->ashift peephole2s): Use pow2p_hwi
|
||||
instead of exact_log2.
|
||||
|
||||
2016-09-20 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/77621
|
||||
@ -346,7 +351,8 @@
|
||||
|
||||
2016-09-14 Pat Haugen <pthaugen@us.ibm.com>
|
||||
|
||||
* loop-unroll.c (unroll_loop_runtime_iterations): Set probability of succ edge.
|
||||
* loop-unroll.c (unroll_loop_runtime_iterations): Set probability
|
||||
of succ edge.
|
||||
|
||||
2016-09-14 Segher Boessenkool <segher@kernel.crashing.org>
|
||||
|
||||
@ -446,7 +452,7 @@
|
||||
|
||||
2016-09-13 Tamar Christina <tamar.christina@arm.com>
|
||||
|
||||
* config/aarch64/aarch64-builtins.c
|
||||
* config/aarch64/aarch64-builtins.c
|
||||
(aarch64_init_simd_builtins): Fix builtin type signature printing.
|
||||
|
||||
2016-09-13 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
@ -18304,7 +18304,7 @@
|
||||
[(set (match_operand:SWI48 0 "register_operand")
|
||||
(mult:SWI48 (match_dup 0)
|
||||
(match_operand:SWI48 1 "const_int_operand")))]
|
||||
"exact_log2 (INTVAL (operands[1])) >= 0
|
||||
"pow2p_hwi (INTVAL (operands[1]))
|
||||
&& peep2_regno_dead_p (0, FLAGS_REG)"
|
||||
[(parallel [(set (match_dup 0) (ashift:SWI48 (match_dup 0) (match_dup 1)))
|
||||
(clobber (reg:CC FLAGS_REG))])]
|
||||
@ -18316,7 +18316,7 @@
|
||||
(mult:SI (match_operand:SI 1 "register_operand")
|
||||
(match_operand:SI 2 "const_int_operand"))))]
|
||||
"TARGET_64BIT
|
||||
&& exact_log2 (INTVAL (operands[2])) >= 0
|
||||
&& pow2p_hwi (INTVAL (operands[2]))
|
||||
&& REGNO (operands[0]) == REGNO (operands[1])
|
||||
&& peep2_regno_dead_p (0, FLAGS_REG)"
|
||||
[(parallel [(set (match_dup 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user