[PATCH] Incorrect volatile bitfield load-extend

2011-11-09 Thread Joey Ye
oduced by: http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01477.html Patch to fix this: 2011-11-10 Joey Ye Fix volatile bitfield load * gcc/expr.c (expand_expr_real_1): Check bitfield size smaller than mode size. Testcase: 2011-11-10 Joey Ye * gcc.dg/vol

[PATCH, testsuite] No short enum in tree-ssa test

2012-08-23 Thread Joey Ye
Ssa-dom-thread-3.c has following code to trigger a warning on ARM. Add -fno-short-enums to suppress it. struct tree_base { enum tree_code code:16; }; OK to trunk and 4.7? 2012-08-15 Joey Ye * gcc.dg/tree-ssa/ssa-dom-thread-3.c: Add -fno-short-enums. Index: testsuite/gcc.dg/tree-ssa/ssa

[PATCH, libgcc] Make possible to disable JCR in crtstuff.c

2012-09-21 Thread Joey Ye
CR_SECTION=0. AIX defines TARGET_USE_JCR_SECTION to 0, but it has no crtbegin/end stuff. So also no impact. OK to trunk? 2012-09-21 Joey Ye * crtstuff.c: Check TARGET_USE_JCR_SECTION. Index: libgcc/crtstuff.c === --- libgcc/crts

[PATCH 4.7] Backport "Don't pull in unwinder for 64-bit division routines"

2012-09-27 Thread Joey Ye
OK backporting following patches to 4.7? http://gcc.gnu.org/ml/gcc-patches/2012-07/msg01193.html 2012-08-17 Julian Brown * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to -fexceptions -fnon-call-exceptions if not defined. ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.

[4.6][ARM] Backport fix PR48126

2012-06-17 Thread Joey Ye
OK for 4.6? 2012-06-18 Joey Ye Backport from mainline 2011-10-14 David Alan Gilbert PR target/48126 * config/arm/arm.c (arm_output_sync_loop): Move label before barrier. Index: gcc/config/arm/arm.c

[4.6][ARM] Backport "MCR Not available in Thumb1"

2012-06-18 Thread Joey Ye
Backporting trunk r179979 OK for 4.6? Backported from mainline 2011-10-14 David Alan Gilbert PR target/48126 * config/arm/arm.c (arm_output_sync_loop): Move label before barrier. Index: gcc/config/arm/arm.h =

RE: [4.6][ARM] Backport "MCR Not available in Thumb1"

2012-06-19 Thread Joey Ye
Oops! Sorry for such a stupid problem. 2012-06-18 Joey Ye Backported from mainline 2011-10-14 David Alan Gilbert * config/arm/arm.h (TARGET_HAVE_DMB_MCR): MCR Not available in Thumb1. Index: gcc/config/arm/arm.h

RE: [PATCH] Move Graphite from using PPL over to ISL

2012-07-04 Thread Joey Ye
> -Original Message- > From: Terry Guo [mailto:terry@arm.com] > Sent: Wednesday, July 04, 2012 15:12 > To: 'Andrew Pinski'; tob...@grosser.es > Cc: gcc-patches@gcc.gnu.org; Joey Ye > Subject: RE: [PATCH] Move Graphite from using PPL over to ISL >

[arm-embedded] Backport mainline r179607, r179979, r179980, r181416, r182014

2012-06-07 Thread Joey Ye
Committed to ARM/embedded-4_6-branch 2012-06-08 Joey Ye Backport r182014 from mainline. 2011-12-05 Kazu Hirata PR target/51408 * config/arm/arm.md (*minmax_arithsi): Always require the else clause in the MINUS case. 2012-06-08 Joey Ye

[arm-embedded] Backport mainline r182621, r182628, r183095, r183349, r183756, r184442

2012-06-08 Thread Joey Ye
Committed to ARM/embedded-4_6-branch 2012-06-08 Joey Ye Backport r184442 from mainline 2012-02-21 Richard Earnshaw PR target/52294 * thumb2.md (thumb2_shiftsi3_short): Split register and immediate shifts. For register shifts tie operands 0

[arm-embedded] Backport mainline r181172, r184089, r184180

2012-06-11 Thread Joey Ye
Committed to ARM/embedded-4_6-branch 2012-06-11 Joey Ye Backport r184089,184180 from mainline 2012-02-10 Jan Hubicka PR middle-end/48600 * predict.c (predict_paths_for_bb): Prevent looping. (predict_paths_leading_to_edge, predict_paths_leading_to

[arm-embedded] Backport mainline r182921

2012-06-11 Thread Joey Ye
Committed to ARM/embedded-4_6-branch 2012-06-12 Joey Ye Backport r182921 from mainline 2012-01-05 Jakub Jelinek PR middle-end/51768 * stmt.c (check_unique_operand_names): Don't ICE during error reporting if i is from labels chain. test

[PATCH, ARM] Fix PR target/49437 Thumb2 epilog with stack realignment

2011-08-02 Thread Joey Ye
interrupt handler prologue. 2011-08-02 Joey Ye PR target/49437 * gcc.target/arm/handler-align.c: New test. * lib/target-supports.exp (check_effective_target_arm_cortex_m): New Function. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index d9763d2..427c58d

[PATCH, testsuite, ARM] Divide by zero test no necessarily trap

2011-08-15 Thread Joey Ye
gcc.c/torture/execute/20101011-1.c always fails on ARM, because it needs the target architecture trap in division by zero. It is implementation defined on ARM to trap division by zero. So this case should be skipped on ARM. There are two ways to skip this test. One is using standard dejagnu op

RE: [arm-embedded] Backport r174965 from trunk to ARM/embedded-4_6-branch

2011-09-05 Thread Joey Ye
> -Original Message- > From: Terry Guo > Sent: Monday, September 05, 2011 17:18 > To: Joey Ye; gcc-patches@gcc.gnu.org > Subject: [arm-embedded] Backport r174965 from trunk to ARM/embedded- > 4_6-branch > > Hi, > > The checkin at r174965 in trunk fixed

[arm-embedded] Backport mainline 171225

2011-09-18 Thread Joey Ye
Committed Backport r171225 from mainline 2011-03-21 Rainer Orth PR bootstrap/48120: * configure.ac (pwllib): Use LIBS instead of LDFLAGS. Add -lstdc++ -lm to LIBS. * configure: Regenerate. Index: configure ===

[arm-embedded] Backport mainline 171096 .. 174035

2011-09-18 Thread Joey Ye
Backport from mainline to arm-embedded branch r171096, r171251, r171379, r171632, r171978, r172297, r174035. Committed. 2011-09-19 chengbin Backport r174035 from mainline 2011-05-22 Tom de Vries PR middle-end/48689 * fold-const.c (fold_checksum_tree): Guard

[arm-embedded] Backport mainline 174526

2011-09-19 Thread Joey Ye
Committed 2011-09-06 chengbin Backport cortex-r5 from mainline based on r174526 * config/arm/arm-cores.def: Add cortex-r5. Add DIV flags to Cortex-A15. * config/arm/arm-tune.md: Regenerate. * config/arm/arm.c (FL_DIV): Rename... (FL_THUMB_DIV):

[arm-embedded] Backport mainline 174803, 175208, 175427

2011-09-19 Thread Joey Ye
Backport from mainline to ARM/embedded-4_6-branch. Committed. 2011-09-19 Jiangning Liu Backport r175427 from mainline 2011-06-27 Richard Guenther PR tree-optimization/49169 * fold-const.c (get_pointer_modulus_and_residue): Don't rely on the alignmen

[arm-embedded] Backport mainline 171449 .. 177759

2011-09-19 Thread Joey Ye
Backport following mainline revs to ARM/embedded-4_6-branch: 171449, 172777, 174894, 175588, 176867, 177759 Committed. 2011-09-19 Jiangning Liu Backport r177759 from mainline 2011-08-15 Ramana Radhakrishnan PR target/50022 * config/arm/arm.c (output_move_d

[arm-embedded] Backport mainline 177890, 177891

2011-09-19 Thread Joey Ye
Backport following mainline revs to ARM/embedded-4_6-branch: 177890, 177891. Committed. 2011-09-19 Joey Ye Backport r177891 from mainline 2011-08-19 Matthew Gretton-Dann PR target/49437 * config/arm/arm.c (arm_output_epilogue): Properly handle epilogue

[arm-embedded] Backport mainline 174115 .. 178628

2011-09-19 Thread Joey Ye
Backport following mainline revs to ARM/embedded-4_6-branch: 174115, 176760, 177594, 178628. Committed. 2011-09-19 Terry Guo Backport r178628 from mainline 2011-09-07 Jiangning Liu PR tree-optimization/46021 * gcc.dg/tree-ssa/20040204-1.c: Don't XFAIL on ar

[arm-embedded] Backport mainline fixed-point support

2011-09-20 Thread Joey Ye
Backport following mainline revs to ARM/embedded-4_6-branch: r174187, r176036, r177015, r177017, r177018, r177019, 177022, 177025 Committed. 2011-09-20 Jiangning Liu Backport r177025 from mainline 2011-08-01 Julian Brown * configure.ac (fixed-point): Add ARM suppo

[arm-embedded] Backport mainline r176339

2011-09-20 Thread Joey Ye
Backport mainline 176339 to ARM/embedded-4_6-branch. Committed. 2011-09-20 Bin Cheng Backport r176339 from mainline 2011-07-15 Yufeng Zhang * config/locale/newlib/ctype_members.cc: New file. * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale

[arm-embedded] Backport mainline r174549 r178906

2011-09-20 Thread Joey Ye
Backport mainline r178906, r174549 to ARM/embedded-4_6-branch. Committed. 2011-09-20 Terry Guo Backport r178906 from mainline 2011-09-16 Terry Guo * gcc.dg/tree-ssa/foldconst-3.c: Don't use short enums. 2011-09-20 Terry Guo Backport r174549 from mainli

[arm-embedded] Backport mainline r175246 r175009

2011-09-20 Thread Joey Ye
Backport mainline r175246 r175009 to ARM/embedded-4_6-branch. Committed. 2011-09-20 Jiangning Liu Backport r175246 from mainline 2011-06-21 Ira Rosen PR testsuite/49443 * gcc.dg/vect/vect-peel-3.c: Expect to fail on vect_no_align targets. *

[arm-embedded] Backport mainline r174341 r174310

2011-09-20 Thread Joey Ye
Backport mainline r174341 & r174310 to ARM/embedded-4_6-branch. Committed. 2011-09-20 Bin Cheng Backport r174341 from mainline 2011-05-27 Janis Johnson * g++.dg/tree-ssa-pr43411.C: Rename function to be inlined and replace dump search. 2011-09-20 Bin Chen

[arm-embedded] Backport mainline

2011-09-20 Thread Joey Ye
Backport mainline r174578 & r174577 to ARM/embedded-4_6-branch. Committed. 2011-09-20 Jiangning Liu Backport r174578 from mainline 2011-06-02 Julian Brown * config/arm/arm-cores.def (arm1156t2-s, arm1156t2f-s): Use v6t2 tuning. * config/arm/arm-prot

[arm-embedded] Tune branch cost for armv7-m

2011-09-21 Thread Joey Ye
Committed in ARM/embedded-4_6-branch. 2011-09-20 Jiangning Liu Tune branch cost for armv7-m * config/arm/arm-cores.def (cortex-m3): Use cortex-v7m. (cortex-m4) : Likewise. * config/arm/arm.c (arm_cortex_v7m_branch_cost): New. (arm_cortex_v7m_tune): New.

[arm-embedded] Tune loop unrolling for cortex-m

2011-09-21 Thread Joey Ye
Committed in ARM/embedded-4_6-branch. 2011-09-21 Jiangning Liu Tune loop unrolling for cortex-m * config/arm/arm-cores.def (cortex-m0): Change to new tune cortex_v6m. (cortex-m1): Likewise. * config/arm/arm-protos.h (max_unroll_times): New. * con

[arm-embedded] Backport mainline r178852, r172697

2011-09-21 Thread Joey Ye
Backport mainline r178852, r172697 to ARM/embedded-4_6-branch Committed. 2011-09-22 Joey Ye Backport r178852 from mainline 2011-09-14 Julian Brown * config/arm/arm.c (arm_override_options): Add unaligned_access support. (arm_file_start): Emit

[PATCH, LIBSTDC++, committed] Fix type_info equivalence test.

2011-09-26 Thread Joey Ye
Commit to trunk an approved but forgotten patch: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00876.html

[arm-embedded] Backport mainline r179236

2011-09-26 Thread Joey Ye
Backport mainline r179236 to ARM/embedded-4_6-branch. Committed. 2011-09-27 Joey Ye Backport r179236 from mainline 2011-09-27 Marcus Shawcroft * libsupc++/tinfo.cc (type_info::operator==): Test __name instead of name().

[arm-embedded] No loop unroll for Os and option has higher priority

2011-09-27 Thread Joey Ye
Committed to ARM/embedded-4_6-branch. 2011-09-27 Jiangning Liu No loop unroll for Os and option has higher priority. * config/arm/arm-protos.h (unroll_loops): New. (max_unroll_times): Removed. * config/arm/arm.c (arm_default_unroll_times): Deleted. (arm

[patch, testsuite, ARM] Skip architecture option in pr42575.c

2011-09-28 Thread Joey Ye
2011-09-28 Joey Ye * gcc.target/arm/pr42575.c: Remove architecture option. Index: gcc/testsuite/gcc.target/arm/pr42575.c === --- gcc/testsuite/gcc.target/arm/pr42575.c (revision 179308) +++ gcc/testsuite/gcc.target

RE: [arm-embedded] Tune loop unrolling for cortex-m

2011-10-11 Thread Joey Ye
> -Original Message- > From: Hans-Peter Nilsson [mailto:h...@bitrange.com] > Sent: Wednesday, October 12, 2011 06:57 > To: Joey Ye > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [arm-embedded] Tune loop unrolling for cortex-m > > On Wed, 21 Sep 2011, Joey Ye wrote:

[PATCH] [ARM] thumb1 imm move 256-510

2012-04-11 Thread Joey Ye
For thumb1 use move + add instructions for immediate move [256-510]. Following is a complete range if combine an imm mov with listed instructions. Among them, lsls and neg have already been implemented. The only missing opportunity is add, in which I enabled in this patch. Others are replicated w

[PATCH][ARM][Testsute] Skip thumb1 test in non-thumb1 target

2012-04-17 Thread Joey Ye
Fix the test case failed in ARM state. * gcc.target/arm/thumb1-imm.c: Skip it in non-thumb1 target Index: gcc/testsuite/gcc.target/arm/thumb1-imm.c === --- gcc/testsuite/gcc.target/arm/thumb1-imm.c (revision 186517) +++ gcc

RE: Continue strict-volatile-bitfields fixes

2012-04-19 Thread Joey Ye
> -Original Message- > From: Thomas Schwinge [mailto:tho...@codesourcery.com] > Sent: Friday, April 20, 2012 01:46 > To: Bernd Schmidt; Richard Earnshaw > Cc: Richard Guenther; Joey Ye; d...@redhat.com; GCC Patches; Mitchell, > Mark > Subject: Re: Continue strict-vol

[arm-embedded] Fix restrict volatile bitfield

2011-11-22 Thread Joey Ye
flag_strict_volatile_bitfields, treat non-volatile bit fields like volatile ones. testsuite: 2011-11-23 Joey Ye * g++.dg/abi/bitfield12.C: Add option -fno-strict-volatile-bitfields. volatile-bitfields-embedded-branch.patch Description: Binary data

<    1   2