mirror of
https://github.com/LIV2/bebbo-gcc.git
synced 2025-12-06 00:23:32 +00:00
refs #240: extract FIX to analyze src correctly
This commit is contained in:
parent
b56dc52619
commit
42e56bb12e
@ -1787,6 +1787,9 @@ insn_info::fledder (rtx set)
|
|||||||
if (GET_CODE(dst) == STRICT_LOW_PART || GET_CODE(dst) == SUBREG)
|
if (GET_CODE(dst) == STRICT_LOW_PART || GET_CODE(dst) == SUBREG)
|
||||||
dst = XEXP(dst, 0);
|
dst = XEXP(dst, 0);
|
||||||
|
|
||||||
|
if (GET_CODE(src) == FIX)
|
||||||
|
src = XEXP(src, 0);
|
||||||
|
|
||||||
mode = GET_MODE(dst);
|
mode = GET_MODE(dst);
|
||||||
if (mode == VOIDmode)
|
if (mode == VOIDmode)
|
||||||
mode = GET_MODE(src);
|
mode = GET_MODE(src);
|
||||||
@ -5045,6 +5048,7 @@ opt_absolute (void)
|
|||||||
std::vector<unsigned> found;
|
std::vector<unsigned> found;
|
||||||
found.push_back (i);
|
found.push_back (i);
|
||||||
int base = ii.get_dst_mem_addr ();
|
int base = ii.get_dst_mem_addr ();
|
||||||
|
|
||||||
int max = base;
|
int max = base;
|
||||||
unsigned j = i + 1;
|
unsigned j = i + 1;
|
||||||
for (; j < infos->size (); ++j)
|
for (; j < infos->size (); ++j)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user