OSDN Git Service

* combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jan 2000 15:49:51 +0000 (15:49 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Jan 2000 15:49:51 +0000 (15:49 +0000)
commit0f177ed3197deb5b081328959bb06933551b0dc2
treecb538d78bfdc59b555389ff61e14e20a45fccd68
parent299a8d4e5f1b0cf43bcbb5cd63393b1c996fa417
* combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
(make_compound_operation): Choose cheaper alternative between
ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31180 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c