This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix IA-32 TLS IE and LE models (take 2)


On Thu, Aug 08, 2002 at 05:44:29PM -0400, Jakub Jelinek wrote:
> 	* config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
> 	legitimate constant.
> 	(legitimate_pic_operand_p): Neither pic operand.
> 	(legitimate_address_p): But legitimate address.
> 	(get_thread_pointer): Generate MEM/u instead of CONST around
> 	UNSPEC_TP.
> 	(print_operand): Remove printing of UNSPEC_TP.
> 	(print_operand_address): And print it here.
> 
> 	* gcc.dg/tls/opt-2.c: New test.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]