aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@arm.com>2015-08-19 22:55:28 +0000
committerJiong Wang <jiwang@gcc.gnu.org>2015-08-19 22:55:28 +0000
commitb61a0d75fe479befe4bb92eb1447ed52b095599b (patch)
tree5aa74ee7132df7a44f46653bee3dce7ee3bdf5b7 /gcc/go
parente0f6cba004eb94ef9a06c68d09160d8601503085 (diff)
downloadgcc-b61a0d75fe479befe4bb92eb1447ed52b095599b.zip
gcc-b61a0d75fe479befe4bb92eb1447ed52b095599b.tar.gz
gcc-b61a0d75fe479befe4bb92eb1447ed52b095599b.tar.bz2
[Patch][expand] Check gimple statement to improve LSHIFT_EXP expand
This patch improves LSHIFT_EXP expand if the shift operand comes from sign extension and the shift result across word_mode_size boundary. See code comments for details. 2015-08-19 Jiong.Wang <jiong.wang@arm.com> gcc/ * expr.c (expand_expr_real_2): Check gimple statement during LSHIFT_EXPR expand. gcc/testsuite * gcc.dg/wide_shift_64_1.c: New testcase. * gcc.dg/wide_shift_128_1.c: Likewise. * gcc.target/aarch64/ashlti3_1.c: Likewise. From-SVN: r227018
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions