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]

[ARM] Improve thumb frame accesses


This patch improves the quality of the code generated for frame accesses 
when compiling to Thumb, especially when the optimizer is turned off.  
Thumb does not support negative constant offsets from the frame, and the 
virtual registers can depend on such offsets.  The result is that the 
offsets are spilt out into separate psuedos too soon.  By permitting any 
offset from a virtual register we end up with much better code being 
generated


Tested on arm-eabi and installed on trunk.

2006-11-04  Richard Earnshaw  <rearnsha@arm.com>

	* arm.c (thumb_legitimate_addres_p): Allow any constant offset
	from the soft-frame, argument and virtual registers.


Attachment: patch
Description: patch


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