[PING v2][Patch]Fix ICE for gcc.dg/noncompile/920507-1.c

2014-08-11 Thread Tony Wang
will never be called. This patch just move the else condition in make_decl_rtl to make all register type declaration to get the same rtx, it this a reasonable fix? > -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-ow...@gcc.gnu.org] On > Behalf Of T

[PING v3][Patch]Fix ICE for gcc.dg/noncompile/920507-1.c

2014-08-18 Thread Tony Wang
Ping? Still on the trunk now. > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Tuesday, August 12, 2014 9:32 AM > To: gcc-patches@gcc.gnu.org > Subject: [PING v2][Patch]Fix ICE for gcc.dg/noncompile/920507-1.c > > Ping 2, and pasted my obser

[PATCH, g++, testsuite] Skip thread_local6.C on target using wrapper

2014-08-20 Thread Tony Wang
st follow their pattern to avoid the test case on target using wrapper. gcc/gcc/testsuite/ChangeLog: 2014-08-20 Tony Wang * g++.dg/tls/thread_local6.C: Skip this test case when target uses dejagnu wrapper. diff --git a/gcc/testsuite/g++.dg/tls/thread_local6.C b/gcc/tests

[PATCH 1/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-08-20 Thread Tony Wang
rol whether to split the section of a function pair into two part. gcc/libgcc/ChangeLog: 2014-08-21 Tony Wang * config/arm/lib1funcs.S (FUNC_START): Add conditional section redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3 (SYM_END, ARM_SYM_START): Add macros use

[PATCH 2/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-08-20 Thread Tony Wang
-8-21 Tony Wang * config/arm/ieee754-sf.S: Expose symbols around fragment boundaries as function symbols. * config/arm/ieee754-df.S: Same with above BR, Tony libgcc_mul_div_code_size_reduction_2.diff Description: Binary data

[PATCH 3/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-08-20 Thread Tony Wang
Step 3: Test cases to verify the code size reduction. gcc/gcc/testsuite/ChangeLog: 2014-08-21 Tony Wang * gcc.target/arm/size-optimization-ieee-1.c: New test case * gcc.target/arm/size-optimization-ieee-2.c: New test case * lib/gcc-dg.exp: Add new function scan-symbol

[PATCH, libstdc++, testsuite]Skip 62154.cc for target don't support the atomic builtins

2014-08-21 Thread Tony Wang
++-v3/ChangeLog: 2014-08-21 Tony Wang * testsuite/18_support/nested_exception/62154.cc: Disable this test case when target don't have atomic buildins. diff --git a/libstdc++-v3/testsuite/18_support/nested_exception/62154.cc b/libstdc++-v3/testsuite/18_support/nested_exception/62

RE: [PATCH, g++, testsuite] Skip thread_local6.C on target using wrapper

2014-08-21 Thread Tony Wang
Hi Mike > Hum, another solution might be to wrap _exit as well. The patch is so simple > and short, I'll approve the posted > patch; it is a nice step forward. I'll let you contemplate if you want to > try a wrap on _exit. > Thanks for your reply, and I also thought of your suggestion to wr

[Patch ARM] Fix PR target/56846

2014-08-25 Thread Tony Wang
e fix? gcc/libstdc++-v3/ChangeLog: 2014-8-25   Tony Wang      PR target/56846      * libsupc++/eh_personality.cc: Return with CONTINUE_UNWINDING      when meet with the unwind state pattern: _US_VIRTUAL_UNWIND_FRAME |      _US_FORCE_UNWIND

RE: [PATCH 1/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-08-27 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, August 21, 2014 2:15 PM > To: 'gcc-patches@gcc.gnu.org' > Subject: [PATCH 1/3,ARM,libgcc]Code size optimization for the fmul/fdiv and > dmul/ddiv function in libgcc >

RE: [PATCH 2/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-08-27 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, August 21, 2014 2:15 PM > To: 'gcc-patches@gcc.gnu.org' > Subject: [PATCH 2/3,ARM,libgcc]Code size optimization for the fmul/fdiv and > dmul/ddiv function in libgcc >

RE: [PATCH 3/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-08-27 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, August 21, 2014 2:15 PM > To: 'gcc-patches@gcc.gnu.org' > Subject: [PATCH 3/3,ARM,libgcc]Code size optimization for the fmul/fdiv and > dmul/ddiv function in libgcc >

RE: [Patch ARM] Fix PR target/56846

2014-09-03 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Monday, August 25, 2014 6:33 PM > To: 'gcc-patches@gcc.gnu.org'; 'd...@debian.org'; > 'aph-...@littlepinkcloud.com'; Richard Earnshaw; Ramana > Radhakrishnan &g

RE: [PATCH 1/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-03 Thread Tony Wang
Ping 2? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, August 28, 2014 2:02 PM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 1/3,ARM,libgcc]Code size optimization for th

RE: [PATCH 2/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-03 Thread Tony Wang
Ping 2? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, August 28, 2014 2:02 PM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 2/3,ARM,libgcc]Code size optimization for th

RE: [PATCH 3/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-03 Thread Tony Wang
Ping 2? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, August 28, 2014 2:02 PM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 3/3,ARM,libgcc]Code size optimization for th

[Patch, gcc, testsuite]Disable xordi3-opt.c/iordi3-opt.c on thumb1 target

2014-09-03 Thread Tony Wang
trunk? gcc/gcc/testsuite/ChangeLog: 2014-09-04 Tony Wang * gcc.target/arm/xordi3-opt.c: Disable this test case for thumb1 target. * gcc.target/arm/iordi3-opt.c: Ditto. diff --git a/gcc/testsuite/gcc.target/arm/iordi3-opt.c b/gcc/testsuite/gcc.target/arm/iordi3-opt.c

[PATCH]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-06-03 Thread Tony Wang
t is reasonable because size of mul is far smaller than size of div. ChangLog changes are: ***gcc/libgcc/ChangeLog*** 2014-05-28 Tony Wang * config/arm/lib1funcs.S (FUNC_START): Add conditional section redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3 Bootstrapped on x86_6

RE: [Patch ARM] Fix PR target/56846

2014-09-09 Thread Tony Wang
> -Original Message- > From: Ramana Radhakrishnan [mailto:ramana@googlemail.com] > Sent: Tuesday, September 09, 2014 4:33 PM > To: Tony Wang > Cc: gcc-patches; d...@debian.org; aph-...@littlepinkcloud.com; Richard > Earnshaw; Ramana Radhakrishnan; > libstd...@gcc.

RE: [Patch ARM] Fix PR target/56846

2014-09-09 Thread Tony Wang
> -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches-ow...@gcc.gnu.org] On > Behalf Of Jonathan Wakely > Sent: Tuesday, September 09, 2014 5:16 PM > To: Ramana Radhakrishnan > Cc: Tony Wang; gcc-patches; d...@debian.org; aph-...@littlepinkclo

[Patch ARM v2] Fix PR target/56846

2014-09-09 Thread Tony Wang
Hi there, This is a updated patch to fix pr56846. Bootstrapped on x86_64-unknown-linux-gnu and no regression for regression test on Linux and a cross regression test on arm-none-eabi. OK for the trunk? gcc/libstdc++-v3/ChangeLog: 2014-09-09 Tony Wang PR target/56846

RE: [Patch ARM v2] Fix PR target/56846

2014-09-10 Thread Tony Wang
> -Original Message- > From: Jonathan Wakely [mailto:jwak...@redhat.com] > Sent: Tuesday, September 09, 2014 6:40 PM > To: Tony Wang > Cc: Ramana Radhakrishnan; gcc-patches; libstd...@gcc.gnu.org > Subject: Re: [Patch ARM v2] Fix PR target/56846 > > On 09/09/1

RE: [PATCH 3/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-15 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, September 04, 2014 10:16 AM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 3/3,ARM,libgcc]Code size optimization for th

RE: [PATCH 1/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-15 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, September 04, 2014 10:15 AM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 1/3,ARM,libgcc]Code size optimization for th

RE: [PATCH 2/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-15 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Thursday, September 04, 2014 10:16 AM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 2/3,ARM,libgcc]Code size optimization for th

RE: [PATCH 1/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-25 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Tuesday, September 16, 2014 11:01 AM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 1/3,ARM,libgcc]Code size optimization for th

RE: [PATCH 2/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-25 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Tuesday, September 16, 2014 11:01 AM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 2/3,ARM,libgcc]Code size optimization for th

RE: [PATCH 3/3,ARM,libgcc]Code size optimization for the fmul/fdiv and dmul/ddiv function in libgcc

2014-09-25 Thread Tony Wang
Ping? > -Original Message- > From: Tony Wang [mailto:tony.w...@arm.com] > Sent: Tuesday, September 16, 2014 11:01 AM > To: 'gcc-patches@gcc.gnu.org' > Cc: Richard Earnshaw; Ramana Radhakrishnan > Subject: RE: [PATCH 3/3,ARM,libgcc]Code size optimization f

[Patch]Fix ICE for gcc.dg/noncompile/920507-1.c

2014-07-28 Thread Tony Wang
remove the else condition which used to be the rtx generation part for correctly declared register type, and let all the register type declaration(no matter it declared correct or not) go through it and generate the same type of rtx:(reg:SI...). gcc/ChangeLog: 2014-07-29 Tony Wang tony.w.

[PING][Patch]Fix ICE for gcc.dg/noncompile/920507-1.c

2014-08-04 Thread Tony Wang
Ping, any comment and suggestion on this bug fix? > -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of Tony Wang > Sent: Tuesday, July 29, 2014 10:31 AM > To: gcc-patches@gcc.gnu.org; 'Richard Biener';