Oleg Endo
aadb5b43ae
re PR target/54089 ([SH] Refactor shift patterns)
PR target/54089
* config/sh/sh.h (SH_DYNAMIC_SHIFT_COST): Set always to 1 if
dynamic shifts are available.
(SHIFT_COUNT_TRUNCATED): Always define to 0. Correct comment.
* config/sh/sh.c (ashl_lshr_seq, ext_ashl_lshr_seq): Add comments.
* config/sh/predicates.md (shift_count_operand): Allow
arith_reg_operand even if TARGET_DYNSHIFT is false.
* config/sh/sh.md (ashlsi3, lshrsi3): Expand library call patterns
if needed.
(ashlsi3_d_call, lshrsi3_d_call): New insns.
PR target/54089
* config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
(lshrsi3): Reimplement as lshrsi3_r0.
PR target/54089
* gcc.target/sh/pr54089-3.c: New.
From-SVN: r191161
2012-09-10 20:35:25 +00:00
..
2012-09-10 20:35:25 +00:00
2012-03-01 21:50:26 +01:00
2012-09-10 20:35:25 +00:00
2012-09-05 08:47:50 +00:00
2012-05-10 08:51:39 +00:00
2012-05-29 15:54:22 +01:00
2012-05-29 15:54:22 +01:00
2012-08-19 16:11:40 +01:00
2011-11-02 15:26:35 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:26:35 +00:00
2012-01-03 21:39:46 +00:00
2011-11-02 15:26:35 +00:00
2012-08-23 15:41:03 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:26:35 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:26:35 +00:00
2012-02-28 17:43:43 +00:00
2012-06-11 14:15:38 -07:00
2012-03-13 09:39:01 +00:00
2012-03-12 14:23:27 +00:00
2011-11-02 15:26:35 +00:00
2011-11-02 15:23:48 +00:00
2011-11-28 05:44:31 +00:00
2012-09-07 13:49:47 +00:00
2012-08-16 03:49:57 +02:00
2012-09-05 08:47:50 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:26:35 +00:00
2012-03-12 15:35:56 +00:00
2011-11-02 15:23:48 +00:00
2012-08-22 09:36:23 +01:00
2011-11-02 15:23:48 +00:00
2011-11-02 15:23:48 +00:00
2011-12-20 20:54:25 +00:00
2012-07-19 07:29:24 +00:00
2012-04-24 22:41:33 +00:00
2012-03-13 10:00:48 +00:00
2012-03-13 10:07:50 -07:00
2012-07-19 07:29:24 +00:00
2012-07-19 07:29:24 +00:00
2011-11-02 15:26:35 +00:00