Commit 3adbce3d by Richard Henderson Committed by Richard Henderson

i386.c (i386_simplify_dwarf_addr): Simplify @GOT references as well.

        * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
        references as well.

From-SVN: r37622
parent 65aa8276
2000-11-21 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
references as well.
2000-11-21 Bernd Schmidt <bernds@redhat.co.uk> 2000-11-21 Bernd Schmidt <bernds@redhat.co.uk>
* loop.c (consec_sets_giv): If the reg we're examining is anything * loop.c (consec_sets_giv): If the reg we're examining is anything
......
...@@ -3068,13 +3068,15 @@ i386_simplify_dwarf_addr (orig_x) ...@@ -3068,13 +3068,15 @@ i386_simplify_dwarf_addr (orig_x)
x = XEXP (XEXP (x, 1), 0); x = XEXP (XEXP (x, 1), 0);
if (GET_CODE (x) == UNSPEC if (GET_CODE (x) == UNSPEC
&& XINT (x, 1) == 7) && (XINT (x, 1) == 6
|| XINT (x, 1) == 7))
return XVECEXP (x, 0, 0); return XVECEXP (x, 0, 0);
if (GET_CODE (x) == PLUS if (GET_CODE (x) == PLUS
&& GET_CODE (XEXP (x, 0)) == UNSPEC && GET_CODE (XEXP (x, 0)) == UNSPEC
&& GET_CODE (XEXP (x, 1)) == CONST_INT && GET_CODE (XEXP (x, 1)) == CONST_INT
&& XINT (XEXP (x, 0), 1) == 7) && (XINT (XEXP (x, 0), 1) == 6
|| XINT (XEXP (x, 0), 1) == 7))
return gen_rtx_PLUS (VOIDmode, XVECEXP (XEXP (x, 0), 0, 0), XEXP (x, 1)); return gen_rtx_PLUS (VOIDmode, XVECEXP (XEXP (x, 0), 0, 0), XEXP (x, 1));
return orig_x; return orig_x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment