aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2009-06-21 20:48:15 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2009-06-21 20:48:15 +0000
commit907dd0c784f78b7827efec202b1086f89c68bf26 (patch)
tree4b6f82a78d699b5ed38c958f1fe3733a74b71b05 /gcc/ChangeLog
parentdfb55fdcdb68bba326432b26f3828ff8c9ca2990 (diff)
downloadgcc-907dd0c784f78b7827efec202b1086f89c68bf26.zip
gcc-907dd0c784f78b7827efec202b1086f89c68bf26.tar.gz
gcc-907dd0c784f78b7827efec202b1086f89c68bf26.tar.bz2
arm.c (thumb1_output_casesi): New function.
* arm.c (thumb1_output_casesi): New function. * arm.h (CASE_VECTOR_PC_RELATIVE): Thumb-1 code is also relative if optimizing for size or PIC. (CASE_VECTOR_SHORTEN_MODE): Handle thumb-1. * arm.md (UNSPEC_THUMB1_CASESI): New constant. (casesi): Handle Thumb-1 when optimizing for size or PIC. (thumb1_casesi_internal_pic): New expand rule. (thumb1_casesi_dispatch): New pattern. * aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use shortened vectors for thumb-1 mode. * coff.h (JUMP_TABLES_IN_TEXT_SECTION): Thumb-1 jump tables are now in the text seciton when PIC or optimizing for size. * elf.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. * lib1funcs.asm ([__ARM_EABI__]): Add an attribute describing stack preservation properties of code. (__gnu_thumb1_case_sqi, __gnu_thumb1_case_uqi): New functions. (__gnu_thumb1_case_shi, __gnu_thumb1_case_uhi): New functions. (__gnu_thumb1_case_si): New function. * t-arm (LIB1ASMSRC): Define here. (LIB1ASMFUNCS): Add some common functions. * t-arm-elf (LIB1ASMSRC): Delete. (LIB1ASMFUNCS): Append to existing set. * t-pe (LIB1ASMSRC, LIB1ASMFUNCS): Likewise. * t-strongarm-elf (LIB1ASMSRC, LIB1ASMFUNCS): Likewise. * t-symbian (LIB1ASMFUNCS): Likewise. * t-vxworks (LIB1ASMSRC, LIB1ASMFUNCS): Likewise. * t-wince-pe (LIB1ASMSRC, LIB1ASMFUNCS): Likewise. From-SVN: r148770
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r--gcc/ChangeLog30
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 55ec1ba..308a1f7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,33 @@
+2009-06-21 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm.c (thumb1_output_casesi): New function.
+ * arm.h (CASE_VECTOR_PC_RELATIVE): Thumb-1 code is also relative if
+ optimizing for size or PIC.
+ (CASE_VECTOR_SHORTEN_MODE): Handle thumb-1.
+ * arm.md (UNSPEC_THUMB1_CASESI): New constant.
+ (casesi): Handle Thumb-1 when optimizing for size or PIC.
+ (thumb1_casesi_internal_pic): New expand rule.
+ (thumb1_casesi_dispatch): New pattern.
+ * aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use shortened vectors for
+ thumb-1 mode.
+ * coff.h (JUMP_TABLES_IN_TEXT_SECTION): Thumb-1 jump tables are now
+ in the text seciton when PIC or optimizing for size.
+ * elf.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
+ * lib1funcs.asm ([__ARM_EABI__]): Add an attribute describing stack
+ preservation properties of code.
+ (__gnu_thumb1_case_sqi, __gnu_thumb1_case_uqi): New functions.
+ (__gnu_thumb1_case_shi, __gnu_thumb1_case_uhi): New functions.
+ (__gnu_thumb1_case_si): New function.
+ * t-arm (LIB1ASMSRC): Define here.
+ (LIB1ASMFUNCS): Add some common functions.
+ * t-arm-elf (LIB1ASMSRC): Delete.
+ (LIB1ASMFUNCS): Append to existing set.
+ * t-pe (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
+ * t-strongarm-elf (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
+ * t-symbian (LIB1ASMFUNCS): Likewise.
+ * t-vxworks (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
+ * t-wince-pe (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
+
2009-06-21 Richard Guenther <rguenther@suse.de>
PR tree-optimization/38729