[PATCH, ARM] Fix generation of LDRD/STRD on Thumb-2

Richard Earnshaw rearnsha@arm.com
Tue Jan 13 14:39:00 GMT 2009


This patch fixes a bug in the Thumb-2 code generation where we would
incorrectly generate two 32-bit load instructions.  Because of the
different offset ranges, in addition to being less efficient, this
generated code that would not always assemble.

2009-01-13  Richard Earnshaw  <rearnsha@arm.com>

	* arm.c (output_move_double): Don't synthesize thumb-2 ldrd/strd with
	two 32-bit instructions.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: all.patch
Type: text/x-patch
Size: 5675 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090113/b1f34464/attachment.bin>


More information about the Gcc-patches mailing list