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]

[PATCH] ARM fix constant pool reworking for Thumb


This patch fixes several testsuite failures for Thumb, most notably most 
of the simd tests were failing because values we were extracting from the 
constant pool for inlining were larger than we could handle.  We now 
extract just the value that would be loaded if that is possible, and only 
if that fails (which can happen if the value being fetched is a symbol and 
we are accessing it in a narrower mode) do we resort to getting the raw 
constant pool entry.

Tested on arm-elf for both ARM and Thumb code generation.

R.

2003-10-24  Richard Earnshaw  <rearnsha@arm.com>

	* arm.c (note_invalid_constants): Try to extract the constant
	pool value using avoid_constant_pool_reference; only use
	get_pool_constant if that returns the original reference.


Attachment: vec-cpool.patch
Description: vec-cpool.patch


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