Re: [PATCH, trivial][AArch64] Fix mode iterator for *aarch64_simd_ld1rmode pattern

2014-11-13 Thread Joey Ye
Is there a case or PR to demonstrate the issue? If yes, better to include it as a test case. Thanks, Joey On Thu, Nov 13, 2014 at 2:14 PM, Yangfei (Felix) felix.y...@huawei.com wrote: Hi, We find that the VALLDI mode iterator used in *aarch64_simd_ld1rmode pattern is not appropriate.

Re: 答复: [PATCH, trivial][AArch64] Fix mode iterator for *aarch64_simd_ld1rmode pattern

2014-11-13 Thread Joey Ye
Can a new case be rewritten then? - Joey On Fri, Nov 14, 2014 at 9:32 AM, Yangfei (Felix) felix.y...@huawei.com wrote: No, we noticed this issue when improving the vld1(q?)_dup intrinsics. Thanks. Is there a case or PR to demonstrate the issue? If yes, better to include it as a test

[patch, arm] Minor optimization on thumb2 tail call

2014-11-18 Thread Joey Ye
Current thumb2 -Os generates suboptimal code for following tail call case: int f4(int b, int a, int c, int d); int g(int a, int b, int c, int d) { return f4(b, a, c, d); } arm-none-eabi-gcc -Os -mthumb -mcpu=cortex-m3 test.c push {r4, lr} mov r4, r1 mov r1, r0 mov r0, r4 pop {r4, lr} b f4

Re: [PATCH, ARM, libgcc] New aeabi_idiv function for armv6-m

2014-11-26 Thread Joey Ye
OK applying to arm/embedded-4_9-branch, though you still need maintainer approval into trunk. - Joey On Wed, Nov 26, 2014 at 11:43 AM, Hale Wang hale.w...@arm.com wrote: Hi, This patch ports the aeabi_idiv routine from Linaro Cortex-Strings

Re: [PATCH, ARM] Fix PR63718, Thumb1 bootstrap -- disable fuse-caller-save for Thumb1

2014-11-27 Thread Joey Ye
This work around brings thumb1 bootstrap back. Though I cannot approve, I would like it in stage 3. A complete fix in thumb1 pattern will be welcomed. Thanks, Joey On Thu, Nov 20, 2014 at 7:54 PM, Tom de Vries tom_devr...@mentor.com wrote: Richard, This patch fixes PR63718, which currently

RE: [patch] Shorten Windows path

2014-04-01 Thread Joey Ye
Ian, thanks for your comments. Please find answers and new version below: -Original Message- From: Ian Lance Taylor [mailto:i...@google.com] Sent: 25 March 2014 21:09 To: Joey Ye Cc: gcc-patches Subject: Re: [patch] Shorten Windows path On Tue, Mar 25, 2014 at 1:58 AM, Joey Ye

[patch] Disable if_conversion2 for Og

2014-04-14 Thread Joey Ye
If-converstion is harmful to optimized debugging as it generates conditional execution instructions with line number information, which resulted in a dillusion to developers that both then-else branches are executed. For example: test.c: 1: unsigned oldest_sequence; 2: 3: unsigned foo(unsigned

RE: [patch] Disable if_conversion2 for Og

2014-04-15 Thread Joey Ye
-Original Message- From: Richard Biener [mailto:richard.guent...@gmail.com] Sent: Tuesday, April 15, 2014 4:05 PM To: Joey Ye Cc: GCC Patches Subject: Re: [patch] Disable if_conversion2 for Og On Tue, Apr 15, 2014 at 3:59 AM, Joey Ye joey...@arm.com wrote: If-converstion

RE: [patch] Disable if_conversion2 for Og

2014-04-16 Thread Joey Ye
-Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: Tuesday, April 15, 2014 6:37 PM To: 'Richard Biener' Cc: GCC Patches Subject: RE: [patch] Disable if_conversion2 for Og Ok for trunk and branches after a while. Why does if-conversion not have the same problem

RE: [patch] Disable if_conversion2 for Og

2014-04-16 Thread Joey Ye
-Original Message- From: Richard Earnshaw Sent: Wednesday, April 16, 2014 5:44 PM To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [patch] Disable if_conversion2 for Og Arguably, this is a bug in gdb. The debugger should understand when a breakpointed conditional

RE: [patch] Disable if_conversion2 for Og

2014-04-16 Thread Joey Ye
-Original Message- From: Richard Earnshaw Sent: Wednesday, April 16, 2014 6:04 PM To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [patch] Disable if_conversion2 for Og On 16/04/14 11:02, Joey Ye wrote: -Original Message- From: Richard Earnshaw Sent

RE: [patch] Disable if_conversion2 for Og

2014-04-16 Thread Joey Ye
-Original Message- From: Richard Earnshaw Sent: Wednesday, April 16, 2014 6:21 PM To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [patch] Disable if_conversion2 for Og On 16/04/14 11:17, Joey Ye wrote: -Original Message- From: Richard Earnshaw Sent: Wednesday

[patch, testsuite] Fix fragile case nsdmi-union5

2014-04-17 Thread Joey Ye
Resulting from discussion here: http://gcc.gnu.org/ml/gcc/2014-04/msg00125.html ChangeLog: * g++.dg/cpp0x/nsdmi-union5.C: Change to runtime test. Index: gcc/testsuite/g++.dg/cpp0x/nsdmi-union5.C === ---

RE: [patch, testsuite] Fix fragile case nsdmi-union5

2014-04-24 Thread Joey Ye
-Original Message- From: Mike Stump [mailto:mikest...@comcast.net] Sent: Monday, April 21, 2014 11:39 PM To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [patch, testsuite] Fix fragile case nsdmi-union5 On Apr 17, 2014, at 10:28 PM, Joey Ye joey...@arm.com wrote: Resulting

RE: [patch] Shorten Windows path

2014-04-25 Thread Joey Ye
Ping -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: Tuesday, April 01, 2014 6:18 PM To: 'Ian Lance Taylor' Cc: gcc-patches Subject: RE: [patch] Shorten Windows path Ian, thanks for your comments. Please find answers and new version below: -Original

Re: [PATCH, PR61219]: Fix sNaN handling in ARM float to double conversion

2014-05-19 Thread Joey Ye
If f2d need fix, then please fix d2f too as current implementation for both behave similarly. - Joey On Mon, May 19, 2014 at 5:23 AM, Aurelien Jarno aurel...@aurel32.net wrote: On ARM soft-float, the float to double conversion doesn't convert a sNaN to qNaN as the IEEE Std 754 standard

RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8

2014-02-07 Thread Joey Ye
Ping ^ 2 OK to 4.8? -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: Monday, January 20, 2014 10:47 To: gcc-patches@gcc.gnu.org Subject: RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8 Ping -Original Message- From: Joey Ye

RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8

2014-02-13 Thread Joey Ye
Ping ^3 These fixes are very important to 4.8 ARM embedded users, as they rely on strict volatile bitfields a lot. Please let them in 4.8. -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: Saturday, February 08, 2014 10:42 To: gcc-patches@gcc.gnu.org Subject: RE

[patch] Shorten Windows path

2014-02-18 Thread Joey Ye
Max length of path on Windows is 255, which is easy to exceed in a complicated project. Ultimate solution may be complex but canonizing the path and skipping the ..s in path is helpful. Relative discussion in gcc-patches: http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00582.html OK to trunk stage

RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8

2014-02-19 Thread Joey Ye
Ping ^ 4 -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: Friday, February 14, 2014 9:58 To: gcc-patches@gcc.gnu.org Subject: RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8 Ping ^3 These fixes are very important to 4.8 ARM embedded users

[patch] [arm] Fix PR60169 - thumb1 far jump

2014-02-21 Thread Joey Ye
Patch http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01229.html introduced this ICE: 1. thumb1 estimate if far_jump is used based on function insn size 2. During reload, after stack layout finalized, it does reload_as_needed. It however increases insn size that changes estimation result of

RE: [patch] [arm] Fix PR60169 - thumb1 far jump

2014-02-21 Thread Joey Ye
OK to trunk and 4.8? -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: 2014年2月21日 19:32 To: gcc-patches@gcc.gnu.org Subject: [patch] [arm] Fix PR60169 - thumb1 far jump Patch http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01229.html introduced this ICE: 1. thumb1 estimate

RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8

2014-02-26 Thread Joey Ye
Ping ^ 5 -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: 19 February 2014 17:22 To: 'ja...@redhat.com'; gcc-patches@gcc.gnu.org Subject: RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8 Ping ^ 4 -Original Message- From: Joey Ye

RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8

2014-02-26 Thread Joey Ye
Committed to ARM/embedded-4_8-branch Still pending to gcc-4_8-branch. -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: 27 February 2014 13:53 To: 'ja...@redhat.com'; 'gcc-patches@gcc.gnu.org' Subject: RE: [PATCH][4.8] Backport strict-volatile-bitfields fixes to 4.8

RE: [patch] [arm] Fix PR60169 - thumb1 far jump

2014-02-27 Thread Joey Ye
Ping. OK for trunk and 4.8? -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: 21 February 2014 19:32 To: gcc-patches@gcc.gnu.org Subject: [patch] [arm] Fix PR60169 - thumb1 far jump Patch http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01229.html introduced this ICE

[PATCH] [libgcc,arm] Fix PR 60166 - NAN fraction bits

2014-02-27 Thread Joey Ye
This patch is a mirror copy from approved patch in glibc: http://sourceware.org/ml/libc-alpha/2014-02/msg00741.html OK to trunk, 4.8 and 4.7? ChangeLog.libgcc: * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q): Set to zero. diff --git

Re: [PATCH] Fix incorrect byte swap detection (PR tree-optimization/60454)

2014-03-11 Thread Joey Ye
4.8 also has this bug. OK to backport? On Tue, Mar 11, 2014 at 6:59 PM, Jakub Jelinek ja...@redhat.com wrote: On Tue, Mar 11, 2014 at 06:48:37PM +0800, Thomas Preud'homme wrote: I also added a typedef unsigned uint32_t for when sizeof(unsigned) == 4. I hope it's right. In theory you could

RE: [patch] Shorten Windows path

2014-03-25 Thread Joey Ye
Ping -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: 19 February 2014 15:45 To: gcc-patches@gcc.gnu.org; Ian Lance Taylor (i...@google.com) Subject: [patch] Shorten Windows path Max length of path on Windows is 255, which is easy to exceed in a complicated project

Re: [PATCH, PR61605, 2/2] Use fuse-caller-save info in pass_cprop_hardreg

2014-11-03 Thread Joey Ye
Tom, This patch broke arm thumb1 bootstrap. Please check details at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63718 Best Regards Joey On Fri, Oct 17, 2014 at 5:57 AM, Jeff Law l...@redhat.com wrote: On 10/16/14 03:14, Tom de Vries wrote: Eric, this patch is the second half of the fix

Re: [PATCH 3/5] IPA ICF pass

2014-11-05 Thread Joey Ye
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63747 is likely caused by this patch. compare_gimple_switch does not check CASE_LOW and CASE_HIGH, resulting merging functions not identical. Interestingly in the first a few versions of this patch CASE_LOW/HIGH were checked. But last versions only

[patch][plugin] Fix PR59335 - missing plugin headers again

2014-09-04 Thread Joey Ye
Trunk fails to build plugin again due to missing plugin header files. This patch fixes it. OK to trunk? ChangeLog: PR plugin/59335 * Makefile.in (PLUGIN_HEADERS): Add wide-int.h, signop.h, hash-map.h, hash-set.h. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 63124f8..8e7aada

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

2012-12-13 Thread Joey Ye
-Original Message- From: H.J. Lu [mailto:hjl.to...@gmail.com] Sent: Tuesday, November 27, 2012 12:56 To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c OK to trunk? 2012-09-21 Joey Ye joey...@arm.com

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

2012-12-13 Thread Joey Ye
-Original Message- From: H.J. Lu [mailto:hjl.to...@gmail.com] Sent: Friday, December 14, 2012 11:55 To: Joey Ye Cc: gcc-patches@gcc.gnu.org; Joseph Prostko Subject: Re: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c 2012-12-12 Joey Ye joey...@arm.com

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

2012-12-17 Thread Joey Ye
-Original Message- From: H.J. Lu [mailto:hjl.to...@gmail.com] Sent: Saturday, December 15, 2012 01:20 To: Joey Ye Cc: gcc-patches@gcc.gnu.org; Joseph Prostko Subject: Re: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c Can't you do +# Disable jcr section if we're

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

2012-12-18 Thread Joey Ye
-Original Message- From: H.J. Lu [mailto:hjl.to...@gmail.com] Sent: Tuesday, December 18, 2012 12:10 To: Joseph Prostko Cc: Joey Ye; gcc-patches@gcc.gnu.org Subject: Re: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c On Mon, Dec 17, 2012 at 5:23 PM, Joseph Prostko

[PATCH][ARM][thumb1] Reduce lr save for leaf function with non-far jump

2012-12-19 Thread Joey Ye
Current GCC thumb1 has an annoying problem that always assuming far branch. So it forces to save lr, even when unnecessarily. The most extreme case complained by partner is: // compiled with -mthumb -mcpu=cortex-m0 -Os. void foo() { for (;;); } = foo: push{lr} // Crazy!!! .L2:

[PATCH][ARM][thumb1] Reduce lr save for leaf function with non-far jump

2012-12-20 Thread Joey Ye
: * build libgcc, libstdc++, newlib, libm * make check-gcc with cpu=cortex-m0 * Small and extreme test cases ChangeLog: 2012-12-20 Joey Ye joey...@arm.com * config/arm/arm.c(thumb1_final_prescan_insn): Assert lr save for real far jump. (thumb_far_jump_used_p): Count

RE: [PATCH][ARM][thumb1] Reduce lr save for leaf function with non-far jump

2013-01-04 Thread Joey Ye
Ping -Original Message- From: Joey Ye Sent: Thursday, December 20, 2012 17:53 To: gcc-patches@gcc.gnu.org; Ramana Radhakrishnan Cc: Joey Ye Subject: [PATCH][ARM][thumb1] Reduce lr save for leaf function with non- far jump Current GCC thumb1 has an annoying problem that always

RE: [PATCH][ARM][thumb1] Reduce lr save for leaf function with non-far jump

2013-01-15 Thread Joey Ye
Ping^2 -Original Message- From: Joey Ye Sent: Saturday, January 05, 2013 15:41 To: Ramana Radhakrishnan Cc: Joey Ye; gcc-patches@gcc.gnu.org Subject: RE: [PATCH][ARM][thumb1] Reduce lr save for leaf function with non-far jump Ping -Original Message- From: Joey Ye

RE: [PATCH] [testsuite] [arm] Test thumb1 far jump

2013-01-16 Thread Joey Ye
-Original Message- From: Janis Johnson [mailto:janis_john...@mentor.com] Sent: Thursday, January 17, 2013 10:41 To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] [testsuite] [arm] Test thumb1 far jump On 01/16/2013 06:05 PM, Joey Ye wrote: Test cases for previous

[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 jiangning@arm.com 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-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 jiangning@arm.com 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

[arm-embedded] Backport mainline r178852, r172697

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

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

2011-09-27 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-27 Thread Joey Ye
Backport mainline r179236 to ARM/embedded-4_6-branch. Committed. 2011-09-27 Joey Ye joey...@arm.com Backport r179236 from mainline 2011-09-27 Marcus Shawcroft marcus.shawcr...@arm.com * 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 jiangning@arm.com 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):

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

2011-09-28 Thread Joey Ye
2011-09-28 Joey Ye joey...@arm.com * 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

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: Committed in ARM/embedded-4_6

[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

[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) +++

RE: Continue strict-volatile-bitfields fixes

2012-04-20 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-volatile-bitfields fixes

[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 joey...@arm.com * gcc.dg/tree-ssa/ssa-dom-thread-3.c: Add -fno-short-enums. Index: testsuite

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

2011-08-02 Thread Joey Ye
stack was realigned in interrupt handler prologue. 2011-08-02 Joey Ye joey...@arm.com 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

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

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

[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 joey...@arm.com Backport r184442 from mainline 2012-02-21 Richard Earnshaw rearn...@arm.com PR target/52294 * thumb2.md (thumb2_shiftsi3_short): Split register and immediate shifts

[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 joey...@arm.com Backport r184089,184180 from mainline 2012-02-10 Jan Hubicka j...@suse.cz PR middle-end/48600 * predict.c (predict_paths_for_bb): Prevent looping. (predict_paths_leading_to_edge

[arm-embedded] Backport mainline r182921

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

[4.6][ARM] Backport fix PR48126

2012-06-17 Thread Joey Ye
OK for 4.6? 2012-06-18 Joey Ye joey...@arm.com Backport from mainline 2011-10-14 David Alan Gilbert david.gilb...@linaro.org 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 david.gilb...@linaro.org 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 joey...@arm.com Backported from mainline 2011-10-14 David Alan Gilbert david.gilb...@linaro.org * 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 -Original Message- From

[PATCH] Incorrect volatile bitfield load-extend

2011-11-09 Thread Joey Ye
-patches/2011-03/msg01477.html Patch to fix this: 2011-11-10 Joey Ye joey...@arm.com Fix volatile bitfield load * gcc/expr.c (expand_expr_real_1): Check bitfield size smaller than mode size. Testcase: 2011-11-10 Joey Ye joey...@arm.com * gcc.dg/volatile

[arm-embedded] Fix restrict volatile bitfield

2011-11-22 Thread Joey Ye
-layout.c (layout_decl): If flag_strict_volatile_bitfields, treat non-volatile bit fields like volatile ones. testsuite: 2011-11-23 Joey Ye joey...@arm.com * g++.dg/abi/bitfield12.C: Add option -fno-strict-volatile-bitfields. volatile-bitfields-embedded-branch.patch Description

[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

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 vect-27.c failure for ARM EABI target

[arm-embedded] Backport mainline 171225

2011-09-18 Thread Joey Ye
Committed Backport r171225 from mainline 2011-03-21 Rainer Orth r...@cebitec.uni-bielefeld.de 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-19 Thread Joey Ye
Backport from mainline to arm-embedded branch r171096, r171251, r171379, r171632, r171978, r172297, r174035. Committed. 2011-09-19 chengbin bin.ch...@arm.com Backport r174035 from mainline 2011-05-22 Tom de Vries t...@codesourcery.com PR middle-end/48689 *

[arm-embedded] Backport mainline 174526

2011-09-19 Thread Joey Ye
Committed 2011-09-06 chengbin bin.ch...@arm.com 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...

[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 jiangning@arm.com Backport r175427 from mainline 2011-06-27 Richard Guenther rguent...@suse.de PR tree-optimization/49169 * fold-const.c

[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 joey...@arm.com Backport r177891 from mainline 2011-08-19 Matthew Gretton-Dann matthew.gretton-d...@arm.com PR target/49437 * config/arm/arm.c

[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 terry@arm.com Backport r178628 from mainline 2011-09-07 Jiangning Liu jiangning@arm.com PR tree-optimization/46021 *

[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 jiangning@arm.com Backport r177025 from mainline 2011-08-01 Julian Brown jul...@codesourcery.com

[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 bin.ch...@arm.com Backport r176339 from mainline 2011-07-15 Yufeng Zhang yufeng.zh...@arm.com * config/locale/newlib/ctype_members.cc: New file. * acinclude.m4

[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 terry@arm.com Backport r178906 from mainline 2011-09-16 Terry Guo terry@arm.com * gcc.dg/tree-ssa/foldconst-3.c: Don't use short enums. 2011-09-20 Terry Guo

[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 jiangning@arm.com Backport r175246 from mainline 2011-06-21 Ira Rosen ira.ro...@linaro.org PR testsuite/49443 * gcc.dg/vect/vect-peel-3.c: Expect to fail on

[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 jiangning@arm.com Backport r174578 from mainline 2011-06-02 Julian Brown jul...@codesourcery.com * config/arm/arm-cores.def (arm1156t2-s, arm1156t2f-s): Use v6t2

[PATCH, libgcc] Disable JCR section when java is not enabled

2013-09-10 Thread Joey Ye
Updated to http://gcc.gnu.org/ml/gcc-patches/2012-12/msg01097.html Build passes on arm-none-eabi and bootstrap passes on x86. OK to trunk? ChangeLog * libgcc/Makefile.in: Include JAVA_IS_ENABLED in CFLAGS. * libgcc/configure.ac (java_is_enabled): New variable. *

RE: [PATCH, libgcc] Disable JCR section when java is not enabled

2013-10-10 Thread Joey Ye
Dear Java maintainers, are you OK with this patch? - Joey -Original Message- From: Ian Lance Taylor [mailto:i...@google.com] Sent: Thursday, September 12, 2013 3:28 To: Joey Ye Cc: gcc-patches; H.J. Lu; p...@bothner.com; a...@redhat.com; Tom Tromey Subject: Re: [PATCH, libgcc

RE: [PATCH, libgcc] Disable JCR section when java is not enabled

2013-10-12 Thread Joey Ye
-Original Message- From: Jakub Jelinek [mailto:ja...@redhat.com] Sent: Thursday, October 10, 2013 16:48 To: Joey Ye Cc: p...@bothner.com; a...@redhat.com; Tom Tromey; H.J. Lu; gcc-patches; 'Ian Lance Taylor' Subject: Re: [PATCH, libgcc] Disable JCR section when java is not enabled

Re: FW: MAX_PATH problems with mingw gcc

2013-10-16 Thread Joey Ye
Thanks for contribution. See review comments at following. On Wed, Oct 16, 2013 at 6:45 PM, Vladimir Simonov vladimir.simo...@acronis.com wrote: Hi, Resending filename-normalize patch to correct list gcc-patches@gcc.gnu.org. All context, please, see below. +extern void filename_normalize

Re: FW: MAX_PATH problems with mingw gcc

2013-10-16 Thread Joey Ye
On Wed, Oct 16, 2013 at 6:45 PM, Vladimir Simonov vladimir.simo...@acronis.com wrote: There are many pro and contras, i.e. it adds additional, probably unnecessary work on Linux time but makes filenames shorter, it affects libiberty which is shared between gcc/binutils/gdb, but it may be

Re: FW: MAX_PATH problems with mingw gcc

2013-10-17 Thread Joey Ye
On Thu, Oct 17, 2013 at 4:18 PM, Vladimir Simonov vladimir.simo...@acronis.com wrote: Thank you for pointing this problem. So, on file systems with symlinks support playing with filenames as strings is impossible. This means that filename_normalize name is too pretentious - it will do

Re: FW: MAX_PATH problems with mingw gcc

2013-10-20 Thread Joey Ye
Vladimir, I found no more issue on patch itself. But ChangeLogs are missing. Please refer to format in /include/ChangeLog, and generate yours in your next email for /include /libcpp /libiberty Maintainers of libiberty are in TO list. - Joey

[patch] [arm] ARM Cortex-M3/M4 tuning

2013-10-31 Thread Joey Ye
: Likewise. ChangeLog: 2013-11-01 Julian Brown jul...@codesourcery.com Joey Ye joey...@arm.com * config/arm/arm.c (arm_cortex_m_branch_cost): New. (arm_v7m_tune): New. (arm_*_tune): Add comments for Sched adj cost. * config/arm/arm-cores.def (cortex-m4, cortex-m3): Use

Re: [PATCH 1/n] Add conditional compare support

2013-11-04 Thread Joey Ye
+ TARGET_ARM || TARGET_THUMB2 TARGET_32BIT +static const char *const ite = it\t%d4; +static const int cmp_idx[9] = {0, 0, 1, 0, 1}; s/9/5/ On Wed, Oct 30, 2013 at 5:32 PM, Zhenqiang Chen zhenqiang.c...@arm.com wrote: -Original Message- From: Richard Henderson

[PATCH] [libiberty] MAX_PATH problems with mingw gcc

2013-11-05 Thread Joey Ye
Ping ChangeLog 2013-10-27 Vladimir Simonov vladimir.simo...@acronis.com (include) filename.h (FILENAME_NORMALIZE): New macro. (filename_normalize): New declare. (libiberty) filename_cmp.c (memmove_left): New function. (filename_normalize): Likewise.

Re: [C] Fix PR57258: unused variable warning is emitted for volatile variables

2013-11-07 Thread Joey Ye
- warning_at (DECL_SOURCE_LOCATION (p), - OPT_Wunused_but_set_variable, - variable %qD set but not used, p); + { +if (!TREE_THIS_VOLATILE (p)) + warning_at (DECL_SOURCE_LOCATION (p), +OPT_Wunused_but_set_variable, +variable %qD set but not used, p); + } I'd prefer

RE: [patch] [arm] ARM Cortex-M3/M4 tuning

2013-11-07 Thread Joey Ye
Ping -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: Friday, November 01, 2013 1:00 To: gcc-patches@gcc.gnu.org Subject: [patch] [arm] ARM Cortex-M3/M4 tuning Based on Julian's http://gcc.gnu.org/ml/gcc-patches/2012-07/msg01006.html and * Merged with latest

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

2012-11-19 Thread Joey Ye
Ping, as Joseph Prostko is saying that this patch shall solve the same problem he's facing. -Original Message- From: Joey Ye [mailto:joey...@arm.com] Sent: Friday, September 21, 2012 15:42 To: gcc-patches@gcc.gnu.org Subject: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c

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

2012-11-26 Thread Joey Ye
Ping^2 -Original Message- From: Joey Ye Sent: Tuesday, November 20, 2012 10:09 To: gcc-patches@gcc.gnu.org Cc: Joey Ye Subject: RE: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c Ping, as Joseph Prostko is saying that this patch shall solve the same problem he's

[patch] [arm] New option for PIC offset unfixed

2013-11-11 Thread Joey Ye
its behavior unchanged. Tested with arm-none-eabi make and VxWorks RTP small case OK to trunk? ChangeLog: 2013-11-12 Joey Ye joey...@arm.com * config/arm/arm.c (arm_option_override): Error if -mpic-offset-unfixed without -fpic, and set for VxWorks RTP

RE: [patch] [arm] New option for PIC offset unfixed

2013-11-12 Thread Joey Ye
-Original Message- From: Richard Earnshaw Sent: Tuesday, November 12, 2013 18:49 To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [patch] [arm] New option for PIC offset unfixed The name of the option and the documentation highlights that the option's concept is confusing

RE: [patch] [arm] ARM Cortex-M3/M4 tuning

2013-11-12 Thread Joey Ye
Janis, can you please take a look at test case changes. Thanks, Joey -Original Message- From: Ramana Radhakrishnan Sent: Friday, November 08, 2013 17:11 To: Joey Ye Cc: gcc-patches@gcc.gnu.org; jani...@codesourcery.com Subject: Re: [patch] [arm] ARM Cortex-M3/M4 tuning

RE: [patch] [arm] New option for PIC offset unfixed

2013-11-13 Thread Joey Ye
This patch address all comments. Thanks, Joey -Original Message- From: Richard Earnshaw Sent: Wednesday, November 13, 2013 19:07 To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [patch] [arm] New option for PIC offset unfixed On 13/11/13 10:20, Joey Ye wrote: +@item -mpic

RE: [patch] [arm] New option for PIC offset unfixed

2013-11-14 Thread Joey Ye
-Original Message- From: Richard Earnshaw Sent: Thursday, November 14, 2013 0:57 To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [patch] [arm] New option for PIC offset unfixed So you are suggesting change like this: + Target Report Var(arm_pic_data_is_text_relative) Init

RE: [patch] [arm] New option for PIC offset unfixed

2013-11-14 Thread Joey Ye
-Original Message- From: Richard Earnshaw Sent: Thursday, November 14, 2013 18:00 To: Joey Ye Cc: gcc-patches@gcc.gnu.org Subject: Re: [patch] [arm] New option for PIC offset unfixed On 14/11/13 08:23, Joey Ye wrote: -Original Message- From: Richard Earnshaw Sent

RE: [patch] [arm] ARM Cortex-M3/M4 tuning

2013-11-14 Thread Joey Ye
In mainline and arm/embedded-4_8-branch now. -Original Message- From: Janis Johnson [mailto:janis_john...@mentor.com] Sent: Thursday, November 14, 2013 1:45 To: Joey Ye; jani...@codesourcery.com Cc: gcc-patches@gcc.gnu.org; Ramana Radhakrishnan Subject: Re: [patch] [arm] ARM Cortex

RE: [patch] [arm] ARM Cortex-M3/M4 tuning

2013-11-17 Thread Joey Ye
Sorry about this. I should have run x86 make check. - Joey -Original Message- From: Richard Biener [mailto:richard.guent...@gmail.com] Sent: Thursday, November 14, 2013 22:16 To: H.J. Lu Cc: Joey Ye; Janis Johnson; GCC Patches; Ramana Radhakrishnan Subject: Re: [patch] [arm] ARM

RE: [PATCH, libgcc] Disable JCR section when java is not enabled

2013-11-18 Thread Joey Ye
Ping, as wasting 8 bytes of RAM isn't ignorable on embedded system. OK to trunk stage 1? -Original Message- From: Tom Tromey [mailto:tro...@redhat.com] Sent: Thursday, October 10, 2013 21:32 To: Jakub Jelinek Cc: Joey Ye; p...@bothner.com; a...@redhat.com; H.J. Lu; gcc-patches; 'Ian

Re: [arm-embedded] Backport trunk thumb1 pic fix to embedded-4_8-branch

2013-11-27 Thread Joey Ye
Terry, this is a bug fix to pic register. I feel it should also be in gcc-4_8-branch. - Joey On Wed, Nov 27, 2013 at 11:45 AM, Terry Guo terry@arm.com wrote: Hi, This patch back ported trunk fix at r205391 to arm/embedded-4_8-branch. BR, Terry gcc/ChangeLog.arm 2013-11-27 Terry Guo

  1   2   >