diff mbox

[AArch64] allow 16 bytes constants in constant pool.

Message ID 5048B37A.1000204@arm.com
State New
Headers show

Commit Message

Marcus Shawcroft Sept. 6, 2012, 2:30 p.m. UTC
Relax the logic that prevents TFmode constants being addressed in the 
constant pool.

2012-09-06  Marcus Shawcroft  <marcus.shawcroft@arm.com>

         * config/aarch64/aarch64.c (aarch64_classify_address):
         Allow 16 byte modes in constant pool.

Comments

Marcus Shawcroft Sept. 10, 2012, 7:36 a.m. UTC | #1
On 06/09/12 15:30, Marcus Shawcroft wrote:
> Relax the logic that prevents TFmode constants being addressed in the
> constant pool.
>
> 2012-09-06  Marcus Shawcroft<marcus.shawcroft@arm.com>
>
>           * config/aarch64/aarch64.c (aarch64_classify_address):
>           Allow 16 byte modes in constant pool.
>
>

I've just committed this patch to the aarch64 branch.
/Marcus
diff mbox

Patch

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 310c1a0..aa90402 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -2835,9 +2835,7 @@  aarch64_classify_address (struct aarch64_address_info *info,
     case LABEL_REF:
       /* load literal: pc-relative constant pool entry.  */
       info->type = ADDRESS_SYMBOLIC;
-      if (outer_code != PARALLEL
-	  && (GET_MODE_SIZE (mode) == 4
-	      || GET_MODE_SIZE (mode) == 8))
+      if (outer_code != PARALLEL)
 	{
 	  rtx sym, addend;