optabs.c (expand_unop): Take TRULY_NOOP_TRUNCATION into account.
2005-10-31 J"orn Rennecke <joern.rennecke@st.com> * optabs.c (expand_unop): Take TRULY_NOOP_TRUNCATION into account. From-SVN: r106271
This commit is contained in:
parent
047f4b2c78
commit
cd7ec127de
|
@ -1,3 +1,7 @@
|
|||
2005-10-31 J"orn Rennecke <joern.rennecke@st.com>
|
||||
|
||||
* optabs.c (expand_unop): Take TRULY_NOOP_TRUNCATION into account.
|
||||
|
||||
2005-10-31 Andrew Pinski <pinskia@physics.uc.edu>
|
||||
|
||||
PR middle-end/23492
|
||||
|
|
|
@ -2434,7 +2434,9 @@ expand_unop (enum machine_mode mode, optab unoptab, rtx op0, rtx target,
|
|||
|
||||
if (temp)
|
||||
{
|
||||
if (class != MODE_INT)
|
||||
if (class != MODE_INT
|
||||
|| !TRULY_NOOP_TRUNCATION (GET_MODE_BITSIZE (mode),
|
||||
GET_MODE_BITSIZE (wider_mode)))
|
||||
{
|
||||
if (target == 0)
|
||||
target = gen_reg_rtx (mode);
|
||||
|
|
Loading…
Reference in New Issue