i386.md (tls_local_dynamic_base): Put pic reg into proper operand.

* config/i386/i386.md (tls_local_dynamic_base): Put pic reg
	into proper operand.

From-SVN: r58029
This commit is contained in:
Jakub Jelinek 2002-10-10 23:46:09 +02:00 committed by Jakub Jelinek
parent b687818845
commit 9785f1d9c3
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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 ();
})