diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-10 21:46:09 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-10 21:46:09 +0000 |
commit | b5a999404d4050c1f60a2973723339fbd8bc4e72 (patch) | |
tree | c89d6e42c76b957b39903a42690c1f3819f94a7e | |
parent | 93576dcb74f4d2c447592b12e3be94bbe05a8e5b (diff) | |
download | gcc-b5a999404d4050c1f60a2973723339fbd8bc4e72.tar.gz |
* config/i386/i386.md (tls_local_dynamic_base): Put pic reg
into proper operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58029 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8dadd8ed7c2..2159736d1cd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-10 Jakub Jelinek <jakub@redhat.com> + + * config/i386/i386.md (tls_local_dynamic_base): Put pic reg + into proper operand. + 2002-10-10 Denis Chertykov <denisc@overta.ru> * config/ip2k/ip2k.c (function_epilogue): Optimize stack diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index a89f0259703..dd174fe31da 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -13871,13 +13871,12 @@ "" { if (flag_pic) - operands[2] = pic_offset_table_rtx; + operands[1] = pic_offset_table_rtx; else { - operands[2] = gen_reg_rtx (Pmode); - emit_insn (gen_set_got (operands[2])); + operands[1] = gen_reg_rtx (Pmode); + emit_insn (gen_set_got (operands[1])); } - operands[1] = pic_offset_table_rtx; operands[2] = ix86_tls_get_addr (); }) |