mirror of git://gcc.gnu.org/git/gcc.git
var-tracking.c (var_lowpart): Exit early for matched modes.
* var-tracking.c (var_lowpart): Exit early for matched modes. From-SVN: r190212
This commit is contained in:
parent
78ce265b71
commit
1791f36f52
|
|
@ -1,3 +1,7 @@
|
||||||
|
2012-08-07 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
|
* var-tracking.c (var_lowpart): Exit early for matched modes.
|
||||||
|
|
||||||
2012-08-07 Richard Henderson <rth@redhat.com>
|
2012-08-07 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* config/s390/s390.c (s390_emit_compare_and_swap): Update for
|
* config/s390/s390.c (s390_emit_compare_and_swap): Update for
|
||||||
|
|
@ -2251,7 +2255,7 @@
|
||||||
|
|
||||||
2012-07-23 Uros Bizjak <ubizjak@gmail.com>
|
2012-07-23 Uros Bizjak <ubizjak@gmail.com>
|
||||||
|
|
||||||
* config/i386/i386-protos.c (ix86_lea_outperforms): Remove prototype.
|
* config/i386/i386-protos.h (ix86_lea_outperforms): Remove prototype.
|
||||||
* config/i386/i386.c (ix86_lea_outperforms): Make static. Make
|
* config/i386/i386.c (ix86_lea_outperforms): Make static. Make
|
||||||
split_cost argument signed.
|
split_cost argument signed.
|
||||||
(ix86_avoid_lea_for_add): Cleanup.
|
(ix86_avoid_lea_for_add): Cleanup.
|
||||||
|
|
|
||||||
|
|
@ -5086,12 +5086,12 @@ var_lowpart (enum machine_mode mode, rtx loc)
|
||||||
{
|
{
|
||||||
unsigned int offset, reg_offset, regno;
|
unsigned int offset, reg_offset, regno;
|
||||||
|
|
||||||
if (!REG_P (loc) && !MEM_P (loc))
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
if (GET_MODE (loc) == mode)
|
if (GET_MODE (loc) == mode)
|
||||||
return loc;
|
return loc;
|
||||||
|
|
||||||
|
if (!REG_P (loc) && !MEM_P (loc))
|
||||||
|
return NULL;
|
||||||
|
|
||||||
offset = byte_lowpart_offset (mode, GET_MODE (loc));
|
offset = byte_lowpart_offset (mode, GET_MODE (loc));
|
||||||
|
|
||||||
if (MEM_P (loc))
|
if (MEM_P (loc))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue