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: RFA: Make ARM use UNSPECs instead of complicated CONSTs


On Friday 10 October 2008, Richard Sandiford wrote:
> This patch makes the arm port use UNSPECs instead of things like
> (const (minus ...)).  It's part of my ongoing quest to enforce
> a grammar for CONSTs.
>
> gcc/
> 	* config/arm/arm.md (UNSPEC_PIC_BASE): Update documentation.
> 	(UNSPEC_GOTSYM_OFF): New unspec.
> 	(pic_add_dot_plus_four): Simplify the UNSPEC_PIC_BASE operands.
> 	(pic_add_dot_plus_eight): Likewise.
> 	(tls_load_dot_plus_eight): Likewise.  Update peephole2.
> 	* config/arm/thumb2.md (pic_load_dot_plus_four): Simplify the
> 	UNSPEC_PIC_BASE operands.
> 	* config/arm/arm.c (arm_load_pic_register): Use UNSPEC_GOTSYM_OFF.
> 	(arm_output_addr_const_extra): Handle it.

Ok.

Paul


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