This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Allow CONST_VECTOR for literal16
- From: Eric Christopher <echristo at apple dot com>
- To: "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 10 Sep 2006 12:30:08 -0700
- Subject: [committed] Allow CONST_VECTOR for literal16
Thanks to Shantonu for noticing I'd forgotten this part too.
Tested on x86-darwin.
-eric
2006-09-10 Eric Christopher <echristo@apple.com>
* config/darwin.c (machopic_select_rtx_section): Add
CONST_VECTOR for literal16.
Index: config/darwin.c
===================================================================
--- config/darwin.c (revision 116820)
+++ config/darwin.c (revision 116821)
@@ -1242,7 +1242,8 @@ machopic_select_rtx_section (enum machin
else if (TARGET_64BIT
&& GET_MODE_SIZE (mode) == 16
&& (GET_CODE (x) == CONST_INT
- || GET_CODE (x) == CONST_DOUBLE))
+ || GET_CODE (x) == CONST_DOUBLE
+ || GET_CODE (x) == CONST_VECTOR))
return darwin_sections[literal16_section];
else if (MACHOPIC_INDIRECT
&& (GET_CODE (x) == SYMBOL_REF