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 the fmul/fdiv and dmul/ddiv

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 the fmul/fdiv and dmul/ddiv

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 for the fmul/fdiv and dmul/ddiv

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 the fmul/fdiv and dmul/ddiv

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 the fmul/fdiv and dmul/ddiv

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 the fmul/fdiv and dmul/ddiv

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/14 17:47 +0800, Tony Wang wrote: Hi

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.gnu.org Subject: Re: [Patch

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-...@littlepinkcloud.com; Richard Earnshaw

[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 tony.w...@arm.com PR

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 Subject: [Patch ARM] Fix PR target/56846 Hi all

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 the fmul/fdiv and dmul/ddiv function

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 the fmul/fdiv and dmul/ddiv function

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 the fmul/fdiv and dmul/ddiv function

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

2014-09-03 Thread Tony Wang
. Ok for the trunk? gcc/gcc/testsuite/ChangeLog: 2014-09-04 Tony Wang tony.w...@arm.com * 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

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

2014-08-28 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 Hi there, In libgcc the file

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

2014-08-28 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 Step 2: Mark all the symbols around

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

2014-08-28 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 Step 3: Test cases to verify

[Patch ARM] Fix PR target/56846

2014-08-25 Thread Tony Wang
/ChangeLog: 2014-8-25   Tony Wang tony.w...@arm.com      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 diff --git a/libstdc

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

2014-08-21 Thread Tony Wang
to split the section of a function pair into two part. gcc/libgcc/ChangeLog: 2014-08-21 Tony Wang tony.w...@arm.com * 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

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

2014-08-21 Thread Tony Wang
-8-21 Tony Wang tony.w...@arm.com * 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-21 Thread Tony Wang
Step 3: Test cases to verify the code size reduction. gcc/gcc/testsuite/ChangeLog: 2014-08-21 Tony Wang tony.w...@arm.com * 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

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

2014-08-21 Thread Tony Wang
: 2014-08-21 Tony Wang tony.w...@arm.com * 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/62154

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 wrap

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

2014-08-20 Thread Tony Wang
their pattern to avoid the test case on target using wrapper. gcc/gcc/testsuite/ChangeLog: 2014-08-20 Tony Wang tony.w...@arm.com * 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/testsuite

[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 observation about this ICE

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

2014-08-11 Thread Tony Wang
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 Tony Wang Sent: Tuesday, August 05, 2014 9:35 AM To: gcc-patches@gcc.gnu.org Cc: 'Richard Biener'; 'Jakub Jelinek

[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'; 'Jakub Jelinek' Subject

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

2014-07-28 Thread Tony Wang
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...@arm.com * gcc/varasm.c

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

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