mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
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
This commit is contained in:
parent
65aa827646
commit
3adbce3d89
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* loop.c (consec_sets_giv): If the reg we're examining is anything
|
||||
|
@ -3068,13 +3068,15 @@ i386_simplify_dwarf_addr (orig_x)
|
||||
|
||||
x = XEXP (XEXP (x, 1), 0);
|
||||
if (GET_CODE (x) == UNSPEC
|
||||
&& XINT (x, 1) == 7)
|
||||
&& (XINT (x, 1) == 6
|
||||
|| XINT (x, 1) == 7))
|
||||
return XVECEXP (x, 0, 0);
|
||||
|
||||
if (GET_CODE (x) == PLUS
|
||||
&& GET_CODE (XEXP (x, 0)) == UNSPEC
|
||||
&& 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 orig_x;
|
||||
|
Loading…
Reference in New Issue
Block a user