simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of GET_MODE_UNIT_SIZE when simplifying constant vectors.
2003-06-16 Richard Henderson <rth@redhat.com> * simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of GET_MODE_UNIT_SIZE when simplifying constant vectors. From-SVN: r68038
This commit is contained in:
parent
33b0d00f2a
commit
799ab2c713
@ -1,3 +1,8 @@
|
||||
2003-06-16 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
|
||||
GET_MODE_UNIT_SIZE when simplifying constant vectors.
|
||||
|
||||
2003-06-16 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* timevar.c (get_run_time): Remove function provided also by
|
||||
|
@ -2721,7 +2721,7 @@ simplify_subreg (outermode, op, innermode, byte)
|
||||
/* This might fail, e.g. if taking a subreg from a SYMBOL_REF. */
|
||||
/* ??? It would be nice if we could actually make such subregs
|
||||
on targets that allow such relocations. */
|
||||
if (byte >= GET_MODE_UNIT_SIZE (innermode))
|
||||
if (byte >= GET_MODE_SIZE (innermode))
|
||||
elt = CONST0_RTX (submode);
|
||||
else
|
||||
elt = simplify_subreg (submode, op, innermode, byte);
|
||||
|
Loading…
Reference in New Issue
Block a user