From patchwork Thu Sep 6 14:30:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [AArch64] allow 16 bytes constants in constant pool. Date: Thu, 06 Sep 2012 04:30:18 -0000 From: Marcus Shawcroft X-Patchwork-Id: 182194 Message-Id: <5048B37A.1000204@arm.com> To: "gcc-patches@gcc.gnu.org" Relax the logic that prevents TFmode constants being addressed in the constant pool. 2012-09-06 Marcus Shawcroft * config/aarch64/aarch64.c (aarch64_classify_address): Allow 16 byte modes in constant pool. 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;