diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-30 15:32:52 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-30 15:32:52 +0000 |
commit | 445e5fbbc093303ce94e4f8031853af2a2d2fd68 (patch) | |
tree | 6d1370f585fb59eba673c1d1c7a7b0721cf849ac /gcc/cse.c | |
parent | 72370f24b054986ae91deabd43fc9ae80115aa65 (diff) | |
download | gcc-445e5fbbc093303ce94e4f8031853af2a2d2fd68.tar.gz |
* simplify-rtx.c (simplify_binary_operation): Unfactor the shift
and rotate cases.
<LSHIFTRT>: Optimize (lshiftrt (clz X) C) as (eq X 0) where C is
log2(GET_MODE_BITSIZE(X)) on targets with the appropriate semantics.
* gcc.target/ppc-eq0-1.c: New test case.
* gcc.target/ppc-negeq0-1.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions