Re: [PATCH] fix error spelling in nds32.c (PR 79928)

2017-03-07 Thread Chung-Ju Wu
Martin Sebor on 2017/3/8 08:09 wrote: The following one-line patch corrects the spelling of the error message in the nds32 back end pointed out by a translator. I'll go ahead and commit it as trivial unless there are objections in the next day or so. Martin 2017-03-07 Martin Sebor * gc

[PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites

2014-12-08 Thread Chung-Ju Wu
trib/ChangeLog === --- contrib/ChangeLog (revision 218505) +++ contrib/ChangeLog (working copy) @@ -1,3 +1,7 @@ +2014-12-09 Chung-Ju Wu + + * download_prerequisites: Set GRAPHITE_LOOP_OPT=no by default. + 2014-12-04 Th

Re: [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites

2014-12-09 Thread Chung-Ju Wu
2014-12-09 21:16 GMT+08:00 Richard Biener : > On Tue, Dec 9, 2014 at 6:36 AM, Chung-Ju Wu wrote: >> Hi, all, >> >> In the discussion thread last year: >> https://gcc.gnu.org/ml/gcc-patches/2013-05/msg01334.html >> >> I extended the script ./contri

Re: [PATCH] Update libgcc.texi to match implementation in libgcc/libgcc2.c

2014-12-09 Thread Chung-Ju Wu
2014-12-09 23:08 GMT+08:00 Ian Lance Taylor : > On Mon, Oct 27, 2014 at 8:19 PM, Kito Cheng wrote: >> >> This patch update `Bit operations` section in libgcc.text, most bit >> operation function is take an unsigned integer instead of signed >> integer in libgcc/libgcc2.c [1], and it seem more make

Re: [PATCH] Do not download packages for graphite loop optimizations by default when using ./contrib/download_prerequisites

2014-12-11 Thread Chung-Ju Wu
2014-12-10 21:37 GMT+08:00 Richard Biener : > On Wed, Dec 10, 2014 at 6:16 AM, Chung-Ju Wu wrote: >> >> Thanks for the suggestion. >> The followings are proposed patch to adjust comment: >>

[PATCH] Fix PR64217

2014-12-15 Thread Chung-Ju Wu
mitted as Rev.218774. Index: gcc/ChangeLog === --- gcc/ChangeLog (revision 218773) +++ gcc/ChangeLog (working copy) @@ -1,3 +1,9 @@ +2014-12-16 Chung-Ju Wu + + PR target/64217 + * config/nds32/nds32.md (cases

Re: Minor comment tweak in config/nds32/nds32-peephole2.md

2015-01-05 Thread Chung-Ju Wu
2015-01-06 7:27 GMT+08:00 Eric Botcazou : > I think that we don't want new define_peephole's at this point. > > Applied on the mainline as obvious. > > > 2015-01-05 Eric Botcazou > > * config/nds32/nds32-peephole2.md: Do not mention define_peephole. > Thank you for the comment refinemen

[PATCH 1/6, nds32] Add -mcmodel= option to support different code model.

2015-01-12 Thread Chung-Ju Wu
Hi, all, Committed as Rev. 219509: https://gcc.gnu.org/r219509 gcc/ChangeLog * config/nds32/nds32.opt (mcmodel): Add new option. * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type to describe code model. Best regards, jasonwucj

Re: [PATCH 1/6, nds32] Add -mcmodel= option to support different code model.

2015-01-12 Thread Chung-Ju Wu
2015-01-13 14:14 GMT+08:00 Chung-Ju Wu : > Hi, all, > > Committed as Rev. 219509: https://gcc.gnu.org/r219509 > > > gcc/ChangeLog > > * config/nds32/nds32.opt (mcmodel): Add new option. > * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type

[PATCH 2/6, nds32] Remove -mgp-direct/-mno-gp-direct options.

2015-01-12 Thread Chung-Ju Wu
Hi, all, Committed as Rev. 219510: https://gcc.gnu.org/r219510 gcc/ChangeLog * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS): Remove MASK_GP_DIRECT flag. * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as one of the multilib de

[PATCH 3/6, nds32] Provide TARGET_CMODEL_[SMALL|MEDIUM|LARGE] to check which code model is specified.

2015-01-12 Thread Chung-Ju Wu
Hi, all, Committed as Rev. 219511: https://gcc.gnu.org/r219511 gcc/ChangeLog * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro. (TARGET_CMODEL_MEDIUM): New macro. (TARGET_CMODEL_LARGE): New macro. * config/nds32/nds32.c (nds32_asm_file_start): Display corr

[PATCH 4/6, nds32] Consider TARGET_CMODEL_LARGE for function call instructions.

2015-01-12 Thread Chung-Ju Wu
Hi, all, Committed as Rev. 219512: https://gcc.gnu.org/r219512 gcc/ChangeLog * config/nds32/nds32.md (call): Use pseudo instruction bal which clobbers TA_REGNUM if large code model is specified. (call_register): Likewise. (call_immediate): Likewise. (call

[PATCH 5/6, nds32] Implement TARGET_ENCODE_SECTION_INFO to store specific flag in symbol_ref rtx.

2015-01-12 Thread Chung-Ju Wu
Hi, all, Committed as Rev. 219514: https://gcc.gnu.org/r219514 gcc/ChangeLog * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own target-specific symbol_ref flag. (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref resides in rodata sec

[PATCH 6/6, nds32] Consider -mcmodel=X in nds32_legitimate_address_p implementation.

2015-01-12 Thread Chung-Ju Wu
Hi, all, Committed as Rev. 219515: https://gcc.gnu.org/r219515 gcc/ChangeLog * config/nds32/nds32.c (nds32_legitimate_address_p): Consider TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases. Best regards, jasonwucj 0006-Consider-mcmodel-X-in-nds32_legitimate_address_p-imp.pa

[PATCH 0/6, nds32] Committed: Have -mcmodel option to support varied code model of programs.

2015-01-12 Thread Chung-Ju Wu
Hi, all, Currently, the nds32 port on trunk only supports 512K or 4G addressing space to access data by specifying -mgp-direct/-mno-gp-direct option. And the range of text section is always assumed to be within 16M addressing space. However, sometimes we may have large programs or sometimes we ma

Re: [PATCH 0/6, nds32] Committed: Have -mcmodel option to support varied code model of programs.

2015-01-13 Thread Chung-Ju Wu
2015-01-14 6:22 GMT+08:00 Joseph Myers : > On Tue, 13 Jan 2015, Chung-Ju Wu wrote: > >> To fix this issue, we are going to use -mcmodel=X options, which probably >> gives more flexibility to support varied code model on code generation. >> The -mgp-direct option now become

[PATCH, nds32] Committed: Remove some features that are not available yet in nds32 port of GNU binutils package.

2015-01-13 Thread Chung-Ju Wu
not available yet in the current nds32 port of GNU binutils package. For consistency concern, I think it would be better to remove them from gcc trunk as well for now. Committed as Rev. 219576: https://gcc.gnu.org/r219576 gcc/ChangeLog 2015-01-14 Chung-Ju Wu * config/nds32/nds32.opt

[PATCH, doc] NDS32: Describe -mcmodel= option instead of -mgp-direct in the documentation.

2015-01-14 Thread Chung-Ju Wu
. gcc/ChangeLog 2015-01-14 Chung-Ju Wu * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and remove -mgp-direct option. Although these changes are target-specific part, I think it would be better for others to have review comments, if any, on its format and layout. If

[PATCH, doc] NDS32: Remove -mforce-fp-as-gp, -mforbid-fp-as-gp, and -mex9 options from documentation.

2015-01-14 Thread Chung-Ju Wu
. gcc/ChangeLog 2015-01-14 Chung-Ju Wu * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp, -mforbid-fp-as-gp, and -mex9 options. Although these changes are target-specific part, I think it would be better for others to have review comments, if any, on its format and

[Patch][gcc-4_7-branch] Backport trunk revision 187838 into gcc-4_7-branch

2013-05-08 Thread Chung-Ju Wu
release, is it OK to backport r187838 into gcc-4_7-branch? libgcc/ChangeLog 2013-05-09 Chung-Ju Wu Backport from mainline 2012-05-24 Olivier Hainque * Makefile.in (clean): Remove libgcc_tm.stamp as well. Use a separate command for stamp removal

Re: [PATCH] Test case for PR55033

2013-05-10 Thread Chung-Ju Wu
2013/5/10 Sebastian Huber : > gcc/testsuite/ChangeLog > 2013-05-10 Sebastian Huber > > PR target/55033 > * gcc.target/powerpc/pr55033.c: New. > --- > gcc/testsuite/gcc.target/powerpc/pr55033.c | 21 + > 1 files changed, 21 insertions(+), 0 deletions(-) > c

Re: [PATCH v2] Test case for PR55033

2013-05-10 Thread Chung-Ju Wu
2013/5/10 Sebastian Huber : > v2: Format changes > > gcc/testsuite/ChangeLog > 2013-05-10 Sebastian Huber > > PR target/55033 > * gcc.target/powerpc/pr55033.c: New. > --- > gcc/testsuite/gcc.target/powerpc/pr55033.c | 23 +++ > 1 files changed, 23 insertion

Re: new port: msp430-elf, revision 2

2013-05-13 Thread Chung-Ju Wu
2013/5/13 Steven Bosscher : > On Sun, May 12, 2013 at 8:56 PM, Gerald Pfeifer wrote: >> On Fri, 10 May 2013, DJ Delorie wrote: >>> Index: MAINTAINERS >>> === >>> +msp430 port DJ Delorie d...@redhat.com >>> +msp430

Re: new port: msp430-elf, revision 2

2013-05-14 Thread Chung-Ju Wu
2013/5/14 nick clifton : > Hi Steven, > > >> Should new ports be allowed in if they rely so heavily on reload? > > As it happens I am currently working on enabling LRA for the MSP430 target. > Although I have run into a roadblock with a possibly unacceptable patch to > simplify_subreg_regno: > >

Re: More vector folding

2013-05-17 Thread Chung-Ju Wu
2013/5/17 Marc Glisse : > > Yes, LOGICAL_OP_NON_SHORT_CIRCUIT seems to be it. > > What is the proper thing to do here? If I add the generic xfail back, we'll > get xpass on some platforms, now we have fails on some platforms, and > listing the platforms where we want the transformation to happen is

Re: [Patch][gcc-4_7-branch] Backport trunk revision 187838 into gcc-4_7-branch

2013-05-17 Thread Chung-Ju Wu
Ping: http://gcc.gnu.org/ml/gcc-patches/2013-05/msg00429.html The patch is to fix dependency issue of libgcc Makefile.in by adding 'rm libgcc_tm.stamp' in the clean rule. That was fixed on main trunk (r187838) but not on gcc-4_7-branch. Since gcc-4_7-branch is still open, is it OK to backport r18

[Patch] Extend script ./contrib/download_prerequisites usage for isl and cloog

2013-05-17 Thread Chung-Ju Wu
? contrib/ChangeLog 2013-05-18 Chung-Ju Wu * download_prerequisites: Download isl and cloog conditionally. Index: contrib/download_prerequisites === --- contrib/download_prerequisites (revision 199006) +++ contrib

Re: [Patch][gcc-4_7-branch] Backport trunk revision 187838 into gcc-4_7-branch

2013-05-19 Thread Chung-Ju Wu
2013/5/19 Ian Lance Taylor : > On Fri, May 17, 2013 at 7:29 PM, Chung-Ju Wu wrote: >> Ping: http://gcc.gnu.org/ml/gcc-patches/2013-05/msg00429.html >> >> The patch is to fix dependency issue of libgcc Makefile.in >> by adding 'rm libgcc_tm.stamp' in the cle

Re: Fix PR tree-optimization/57322

2013-05-19 Thread Chung-Ju Wu
2013/5/20 Easwaran Raman : > The UID of a newly generated statement in build_and_add_sum is set to > that of an adjacent statement in the BB. This is a problem in one case > where the BB is empty. This fix sets the UID to be 1 if the BB is > empty. Bootstraps and no test regressions on x86_64 . OK

Re: [Patch][gcc-4_7-branch] Backport trunk revision 187838 into gcc-4_7-branch

2013-05-19 Thread Chung-Ju Wu
2013/5/19 Paolo Bonzini : > Il 18/05/2013 04:29, Chung-Ju Wu ha scritto: >> Ping: http://gcc.gnu.org/ml/gcc-patches/2013-05/msg00429.html >> >> The patch is to fix dependency issue of libgcc Makefile.in >> by adding 'rm libgcc_tm.stamp' in the clean rul

Re: [Patch] Extend script ./contrib/download_prerequisites usage for isl and cloog

2013-05-22 Thread Chung-Ju Wu
2013/5/23 Bernhard Reutner-Fischer : > > On 22 May 2013 10:08, "Paolo Bonzini" wrote: >> >> Il 18/05/2013 04:37, Chung-Ju Wu ha scritto: >> > Hi all, >> > [...] >> > +# Necessary to build GCC with the Graphite loop optimizations. >>

Re: [PATCH, ARM, iWMMXT] Check IWMMXT_GR_REGS in the SECONDARY_RELOAD MACRO

2013-05-24 Thread Chung-Ju Wu
2013/5/24 Xinyu Qi : > Hi, > > For this simple case, compiled with option -march=iwmmxt -O, > #define N 64 > signed int b[N]; > signed long long j[N], d[N]; > void foo (void) > { > int i; > for (i = 0; i < N; i++) > j[i] = d[i] << b[i]; > } > An internal compiler error occurs, > error: in

Re: [Patch] Extend script ./contrib/download_prerequisites usage for isl and cloog

2013-05-24 Thread Chung-Ju Wu
2013/5/23 Chung-Ju Wu : > > The patch is revised accordingly as follows: > - The tar files, including gmp/mpfr/mpc/isl/cloog, are left under directory. > - In the shell script, we should use '=' as equality comparison operator. > > Thanks for the review comments an

Re: Mark threshold arrays in bb-reorder.c as constant

2013-05-24 Thread Chung-Ju Wu
2013/5/23 Jakub Jelinek : > On Wed, May 22, 2013 at 08:30:35PM -0400, David Malcolm wrote: >> The arrays of thresholds in gcc/bb-reorder.c appear not to have changed >> since 2004 (in r80564). >> >> As part of my hope of quashing global state in gcc, I'd like to mark >> them as const. >> >> Bootstr

Re: Updated MAINTAINERS

2013-06-03 Thread Chung-Ju Wu
2013/6/1 Dinar Temirbulatov : > Hi, > I updated MAINTAINERS list with following change(patch attached). > thanks, Dinar. Hi, Dinar, You forgot to add an entry in ChangeLog like this: Index: ChangeLog === --- Change

Re: [PATCH RX] Added target specific macros for macros for RX100, RX200, and RX600

2013-06-03 Thread Chung-Ju Wu
2013/6/3 Sandeep Kumar Singh : > Hi Gerald, > > Below is the update to mention under changes link on GCC website. > > RX > The port now allows to specify the RX100, RX200, and RX600 processors > with the command > line options -mcpu=rx100, -mcpu=rx200 and -mcpu=rx600 > > This updat

Re: [PATCH RX] Added target specific macros for macros for RX100, RX200, and RX600

2013-06-05 Thread Chung-Ju Wu
2013/6/5 Sandeep Kumar Singh : > Hi Chung-Ju Wu, > > Thanks for your help. Suggested changes has been committed. > > Regards, > Sandeep Kumar Singh, > KPIT Cummins InfoSystems Ltd. > Pune, India > > Oops~ I should have said that my suggested changes still require Ge

Re: [PATCH v2] Test case for PR55033

2013-06-07 Thread Chung-Ju Wu
2013/6/7 Sebastian Huber : > On 05/17/2013 01:27 AM, David Edelsohn wrote: >> >> On Fri, May 10, 2013 at 11:43 PM, Chung-Ju Wu wrote: >>> >>> 2013/5/10 Sebastian Huber : >>> v2: Format changes >>> >>> gcc/testsuite/ChangeLog >&g

Re: [PATCH 4/4] Fix leading spaces.

2013-06-15 Thread Chung-Ju Wu
2013/6/14 Joseph S. Myers : > On Thu, 13 Jun 2013, Richard Biener wrote: > >> Btw, rather than these kind of patches I'd appreciate if someone would look >> at a simple pre(post?)-commit hook that enforces those whitespace rules. > > In the cpp testsuite we definitely want tests with bad whitespace

Re: [PATCH] PowerPC: Fix test case for PR55033

2013-06-17 Thread Chung-Ju Wu
2013/6/18 David Edelsohn : > gcc/testsuite/ChangeLog > 2013-06-17 Sebastian Huber > > PR target/55033 > * gcc.target/powerpc/pr55033.c: Fix options. > > Okay. > > Thanks, David > > P.S. Please explicitly copy me on patches. Hi, Sebastian, Since David has pproved your patch, do you need me to h

Re: [PATCH 4/4] Fix leading spaces.

2013-06-17 Thread Chung-Ju Wu
2013/6/16 Ondřej Bílka : > On Sat, Jun 15, 2013 at 05:13:31PM +0800, Chung-Ju Wu wrote: >> 2013/6/14 Joseph S. Myers : >> > On Thu, 13 Jun 2013, Richard Biener wrote: >> > >> >> Btw, rather than these kind of patches I'd appreciate if someone would &g

Re: [Committed] S/390: PR57609 fix - use next_active_insn instead of next_real_insn

2013-06-18 Thread Chung-Ju Wu
2013/6/18 Steven Bosscher : > On Tue, Jun 18, 2013 at 10:57 AM, Andreas Krebbel > wrote: >> Hi, >> >> the patch replaces next_real_insn with next_active_insn when checking >> for JUMP TABLE insns. >> >> This fixes ESA mode bootstrap on s390 which broke with r197266. >> >> Comitted to mainline > >

Re: [PATCH] Improve folding of bitwise ops feeding conditionals for single bit types

2013-06-19 Thread Chung-Ju Wu
2013/6/19 Jeff Law : > > * gcc.dg/tree-ssa/forwprop-28.c: New test. > In the gnu coding standard we have a space before the open-parentheses. Would that be great to have testcase follow this convention as well? :) If so, then... > > diff --git a/gcc/testsuite/gcc.dg/tree-ssa/forwprop-28

Re: [PATCH] Improve folding of bitwise ops feeding conditionals for single bit types

2013-06-19 Thread Chung-Ju Wu
2013/6/19 Jakub Jelinek : > On Wed, Jun 19, 2013 at 03:02:38PM +0800, Chung-Ju Wu wrote: >> In the gnu coding standard we have a space before >> the open-parentheses. Would that be great to have >> testcase follow this convention as well? :) >> >> If so, then... &

Re: [PATCH] PowerPC: Fix test case for PR55033

2013-06-19 Thread Chung-Ju Wu
2013/6/18 Sebastian Huber : > Hello Chung-Ju, > > > On 06/18/2013 05:12 AM, Chung-Ju Wu wrote: >> >> 2013/6/18 David Edelsohn : >>> >>> gcc/testsuite/ChangeLog >>> 2013-06-17 Sebastian Huber >>> >>> PR target/55033 >>

Re: [PATCH] Fix PR57584

2013-06-21 Thread Chung-Ju Wu
2013/6/20 Richard Biener : > > 2013-06-20 Richard Biener > > PR tree-optimization/57584 > * tree-ssa-loop-niter.c (expand_simple_operations): Avoid including > SSA names into the expanded expression that take part in > abnormal coalescing. > > * gcc.dg/tor

[Patch, libgcc] The files auto-target.h and stamp-h should only be removed by "make distclean".

2013-06-25 Thread Chung-Ju Wu
re ChangeLog and the patch: Index: libgcc/ChangeLog === --- libgcc/ChangeLog(revision 200389) +++ libgcc/ChangeLog(working copy) @@ -1,3 +1,8 @@ +2013-06-25 Chung-Ju Wu + + * Makefile.in (clean, distclean): Remove auto-

Re: [Patch wwwdocs] gcc-4.9 changes: mention support of the Intel Silvermont microarchitecture

2013-07-02 Thread Chung-Ju Wu
2013/6/25 Kirill Yukhin : > Hello, >> >> Looks good to me; just say "the new Intel...". > Checked int www CVS. > > Thanks, K Hi, Kirill, By reviewing webpage of gcc-4.9 changes: http://gcc.gnu.org/gcc-4.9/changes.html I noticed there is a duplicate subsection 'IA-32/x86-64' under "New Targets an

Re: Fix missing use of -Werror when compiling files in c-familty directory

2013-07-03 Thread Chung-Ju Wu
Hi, Graham, 2013/7/3 Graham Stott : > All, > > Files in the c-family directory are being compiled during stage3 without > -Werror and > other warningb flags that are part of WARN_STRICT flags. > > Fixing this shows that array_notation_common.c generates unused variable > warnings > and will bre

Re: Fix missing use of -Werror when compiling files in c-familty directory

2013-07-03 Thread Chung-Ju Wu
2013/7/3 Joseph S. Myers : > On Wed, 3 Jul 2013, Graham Stott wrote: > >> Files in the c-family directory are being compiled during stage3 without >> -Werror and other warningb flags that are part of WARN_STRICT flags. >> Fixing this shows that array_notation_common.c generates unused >> variable

Re: Fix missing use of -Werror when compiling files in c-familty directory

2013-07-03 Thread Chung-Ju Wu
2013/7/4 Chung-Ju Wu : >> On Wed, 3 Jul 2013, Graham Stott wrote: >> >>> Files in the c-family directory are being compiled during stage3 without >>> -Werror and other warningb flags that are part of WARN_STRICT flags. >>> Fixing this shows that ar

[PATCH 1/6] Andes nds32: configure settings for nds32 target.

2013-07-08 Thread Chung-Ju Wu
been applied previously: http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01125.html contrib/ 2013-07-08 Chung-Ju Wu Shiva Chen * config-list.mk (nds32le-elf, nds32be-elf): Add nds32 target. gcc/ 2013-07-08 Chung-Ju Wu Shiva Chen * config.gcc

[PATCH 4/6] Andes nds32: testsuite modifications for nds32 target.

2013-07-08 Thread Chung-Ju Wu
Hi, This patch consists of testsuite changes, including skip cases, expected fail cases, and __nds32__ specific cases. In additon, we also add checking in lib/target-supports.exp because profiling is not available for nds32*-*-elf target. gcc/testsuite/ 2013-07-08 Chung-Ju Wu

[PATCH 5/6] Andes nds32: documentation for nds32 target.

2013-07-08 Thread Chung-Ju Wu
Hi, This patch consists of the nds32 specific content in documentation, including options, constraints, --with-nds32-lib configure option, and attributes for nds32 target. gcc/ 2013-07-08 Chung-Ju Wu Shiva Chen * doc/invoke.texi (NDS32 options): Document nds32 specific

[PATCH 6/6] Andes nds32: wwwdoc for nds32 target.

2013-07-08 Thread Chung-Ju Wu
Hi, This patch consists of webpage changes for describing a new 'nds32' target port and related information. The following is a brief overview of changes: htdocs/ 2013-07-08 Chung-Ju Wu Shiva Chen * backends.html: Add architecture characteristic key for nd

[PATCH 0/6] Contributing new target port: Andes 'nds32'.

2013-07-08 Thread Chung-Ju Wu
r software floating point library. None of general gcc code is required to be changed for this nds32 port. We have already signed FSF agreement and are proposing Shiva Chen and myself (Chung-Ju Wu), both of Andes compiler engineers, as nds32 port maintainers: Index: M

Re: [PATCH 5/6] Andes nds32: documentation for nds32 target.

2013-07-11 Thread Chung-Ju Wu
uot; A plain text ChangeLog is revised as well: gcc/ 2013-07-12 Chung-Ju Wu Shiva Chen * doc/invoke.texi (NDS32 Options): Document nds32 specific options. * doc/md.texi (Constraints for Particular Machines): Document nds32 specific constraints.

Add myself and Shiva Chen in MATINTAINERS file as nds32 port maintainers

2013-07-19 Thread Chung-Ju Wu
+1,9 @@ +2013-07-19 Chung-Ju Wu +Shiva Chen + + * MAINTAINERS (nds32 port): Add Chung-Ju Wu and Shiva Chen as + nds32 port maintainers. + 2013-07-17 Tim Shen * MAINTAINERS (Write After Approval): Add myself. Index: MAINTAINERS

Re: [Patch, microblaze]: Add -fstack-usage support

2013-07-20 Thread Chung-Ju Wu
On 7/20/13 4:14 PM, Eric Botcazou wrote: 2013-03-18 David Holsgrove * gcc/config/microblaze/microblaze.c (microblaze_expand_prologue): Add check for flag_stack_usage to handle -fstack-usage support Signed-off-by: David Holsgrove Patch remains the same, please apply when ready. The

Re: [Patch, PR 57812] Wasted work in computed_jump_p()

2013-07-22 Thread Chung-Ju Wu
2013/7/23 : > > 2013-07-22 Chang > > * rtlanal.c (computed_jump_p): Exit loop once we find label > reference is used. > The second line is supposed to be aligned with '*' character at first line. Like this: * rtlanal.c (computed_jump_p): Exit loop once we find label

Re: [v3] libstdc++/57920

2013-07-23 Thread Chung-Ju Wu
2013/7/22 Paolo Carlini : > Hi, > > see audit trail for details. I tested on x86_64-linux (with/without > _GLIBCXX_X86_RDRAND artificially undefined) the below straightforward patch > and checked by hand the strace. I'm going to apply it soon. > > Thanks, > Paolo. > > /// Hi, Paolo

Re: [v3] libstdc++/57920

2013-07-23 Thread Chung-Ju Wu
2013/7/23 Paolo Carlini : > On 07/23/2013 11:26 AM, Paolo Carlini wrote: >> >> Currently you can't really get the error above. > > Ah Ok, now I see when it can happen, not on Linux, it can happen when > string_conversions.h aren't available. Ok, I'll add back the include > momentarily. > > Paolo.

Re: [v3] libstdc++/57920

2013-07-23 Thread Chung-Ju Wu
2013/7/23 Paolo Carlini : > ... in the future, when we manage to actually avoid including from > I think we can avoid including it from if we play a bit > with void*. Should be safe aliasing-wise. Something like the below, > completely untested. I tested it on my target. At least the elf toolc

Re: [PATCH 1/6] Andes nds32: configure settings for nds32 target.

2013-07-24 Thread Chung-Ju Wu
Hi, Joseph, Sorry for the late revised patch. We have completed all of it based on your review comments. On 7/10/13 6:56 AM, Joseph S. Myers wrote: On Mon, 8 Jul 2013, Chung-Ju Wu wrote: + nds32*-*-*) + supported_defaults="arch nds32_lib" + +

Re: [PATCH 4/6] Andes nds32: testsuite modifications for nds32 target.

2013-07-24 Thread Chung-Ju Wu
Hi, Joseph, Sorry for the late revised patch. We have completed all of it based on your review comments. On 7/10/13 8:08 AM, Joseph S. Myers wrote: On Mon, 8 Jul 2013, Chung-Ju Wu wrote: * gcc.dg/ucnid-11.c: Skip for nds32*-*-*. * gcc.dg/ucnid-2.c: Skip for nds32

Re: [PATCH 5/6] Andes nds32: documentation for nds32 target.

2013-07-24 Thread Chung-Ju Wu
On 7/12/13 1:35 AM, Chung-Ju Wu wrote: On 7/10/13 8:11 AM, Joseph S. Myers wrote: Don't you have built-in functions to document as well? You are right. We did forget to describe built-in functions in the documentation. Thanks for pointing out our carelessness. :) Use "@:&qu

Re: [PATCH 3/6] Andes nds32: libgcc of nds32 porting.

2013-07-24 Thread Chung-Ju Wu
. We have add GPLv3+exception for all the files. A revised patch is provided and here is a summary: 1. Add GPLv3+exception copyright and license notice for all c-isr implementation and libgcc stuff. libgcc/ 2013-07-24 Chung-Ju Wu Shiva Chen * config/nds32

Re: [PATCH 0/6] Contributing new target port: Andes 'nds32'.

2013-07-25 Thread Chung-Ju Wu
On 7/8/13 7:13 PM, Chung-Ju Wu wrote: Hi, GCC Steering Committee, reviewers, and developers, On behalf of Andes Technology Corp., we are submitting a new port 'nds32' for GCC contribution. In this contribution, we use the design and strategy as modern as possible, such as having L

Re: [ping] Re: [PATCH] Remove old x86 builtins from documentation

2013-07-25 Thread Chung-Ju Wu
2013/7/17 Cameron McInally : > Ping. > > I do realize that patches of this nature are of low priority, but I > would really like to see it committed to save my users from tripping > over the docs. > > Thanks again, > Cameron > > On Thu, Jun 13, 2013 at 9:58 PM, Cameron McInally > wrote: >> Hey guy

Re: [ping] Re: [PATCH] Fix documentation for x86 __builtin_ia32_cmp*s

2013-07-25 Thread Chung-Ju Wu
2013/7/17 Cameron McInally : > Ping. > > On Fri, Jun 14, 2013 at 1:41 PM, Cameron McInally > wrote: >> Hey guys, >> >> The documentation states that the return types on the x86 >> __builtin_ia32_cmp*s builtins are integer vectors. This is >> inconsistent with the source. These builtins actually re

Re: [PATCH 3/6] Andes nds32: libgcc of nds32 porting.

2013-07-31 Thread Chung-Ju Wu
On 7/25/13 12:41 AM, Chung-Ju Wu wrote: > On 7/10/13 8:04 AM, Joseph S. Myers wrote: >> There are lots of files in this patch with no copyright or license >> notices. GNU policy is that every file of more than ten lines needs >> copyright and license notices (with the libgcc

[PING] [PATCH 0/6] Contributing new target port: Andes 'nds32'.

2013-08-12 Thread Chung-Ju Wu
Hi, GCC Global Maintainers, The Andes nds32 port has been accepted by GCC SC [1] and the initial patch is posted on [2] but still needs global maintainer's approval. Here are some up-to-date status of nds32 port with current trunk: a) Using a native compiler from current GCC trunk (20130811, Rev

[PATCH, gcc-4_8-branch] Fix the issue of incorrectly using #ifdef HAVE_ATTR_enabled

2013-08-14 Thread Chung-Ju Wu
Hi, Jakub, According to this discussion thread: http://gcc.gnu.org/ml/gcc/2013-08/msg00142.html The bug that David mentioned has been fixed on trunk but not on 4.8 branch. IMHO it would be a good idea to backport it and Vladmir agreed with that. The patch and a plaintext ChangeLog are as follow.

Re: [PATCH, gcc-4_8-branch] Fix the issue of incorrectly using #ifdef HAVE_ATTR_enabled

2013-08-15 Thread Chung-Ju Wu
2013/8/15 Jakub Jelinek : > On Thu, Aug 15, 2013 at 04:09:18AM +0800, Chung-Ju Wu wrote: >> According to this discussion thread: >> http://gcc.gnu.org/ml/gcc/2013-08/msg00142.html >> >> The bug that David mentioned has been fixed on trunk but not on 4.8 branch. >>

[PATCH, combine] Fix host-specific behavior in simplify_compare_const()

2013-02-27 Thread Chung-Ju Wu
Hi all, I notice the function simplify_compare_const() in gcc/combine.c presents different behavior between 32-bit host machine and 64-bit host machine, causing it to perform different RTL transformation for a 32-bit target. In the function: simplify_compare_const (enum rtx_code code, rtx op0, rt

Re: [PATCH, combine] Fix host-specific behavior in simplify_compare_const()

2013-03-06 Thread Chung-Ju Wu
2013/3/5 Eric Botcazou : >> In other words, any 32-bit target with 'need_64bit_hwint=yes' in config.gcc >> is not able to have benefit from this optimization because it never >> passes the condition test. >> >> >> My solution is to use GET_MODE_MASK(mode) to filter out all bits not >> in target mod

Re: [PATCH, combine] Fix host-specific behavior in simplify_compare_const()

2013-04-06 Thread Chung-Ju Wu
2013/3/7 Chung-Ju Wu : > 2013/3/5 Eric Botcazou : >>> In other words, any 32-bit target with 'need_64bit_hwint=yes' in config.gcc >>> is not able to have benefit from this optimization because it never >>> passes the condition test. >>> >>&g

Re: [PATCH, combine] Fix host-specific behavior in simplify_compare_const()

2013-04-07 Thread Chung-Ju Wu
2013/4/7 Jeff Law : > On 04/06/2013 01:42 AM, Chung-Ju Wu wrote: >> >> On behalf of Andes Technology Co., we have signed FSF agreement. >> However, so far I don't have svn write access yet. >> Would you please help to commit this patch? >> >> Thanks ag

Add myself to MAINTAINERS as Write After Approval

2013-04-10 Thread Chung-Ju Wu
Adding myself to the list of members in "Write After Approval" section. Index: ChangeLog === --- ChangeLog (revision 197662) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2013-04-10 Chung-Ju Wu + + * MAINTAIN

Re: [PATCH, combine] Fix host-specific behavior in simplify_compare_const()

2013-04-10 Thread Chung-Ju Wu
2013/4/9 Eric Botcazou : >> On behalf of Andes Technology Co., we have signed FSF agreement. >> However, so far I don't have svn write access yet. >> Would you please help to commit this patch? > > Jeff has kindly offered to sponsor you for write access, so you should be able > to install it yourse

Re: [wwwdocs, patch, committed] Updated Fortran part of http://gcc.gnu.org/gcc-4.9/changes.html

2013-04-11 Thread Chung-Ju Wu
2013/4/11 Tobias Burnus : > http://gcc.gnu.org/gcc-4.9/changes.html was so empty :-) > > I have committed the attached patch - comments and suggestions are welcome. > > Tobias Hi, Tobias, On behalf of Andes Technology Co., I am going to propose a new target contribution, nds32 port, to GCC on Ju

Re: [wwwdocs, patch, committed] Updated Fortran part of http://gcc.gnu.org/gcc-4.9/changes.html

2013-04-11 Thread Chung-Ju Wu
2013/4/11 Tobias Burnus : > Hi Chung-Wu, > > > Chung-Ju Wu wrote: >> >> On behalf of Andes Technology Co., I am going to propose a new target >> contribution, nds32 port, to GCC on >> June or July. If the contribution is adopted by the GCC Steering Committ

[PATCH, tree-ssa] Avoid -Wuninitialized warning in try_unroll_loop_completely()

2013-04-13 Thread Chung-Ju Wu
Hi, I noticed there is an uninitialized variable warning when compiling tree-ssa-loop-ivcanon.c file. Attached patch is a slight modification to avoid the warning and a plaintext ChangeLog is as below. Is it OK for trunk? 2013-04-14 Chung-Ju Wu * tree-ssa-loop-ivcanon.c

Re: [PATCH, tree-ssa] Avoid -Wuninitialized warning in try_unroll_loop_completely()

2013-04-15 Thread Chung-Ju Wu
2013/4/15 Jeff Law : > On 04/13/2013 07:17 PM, Chung-Ju Wu wrote: >> >> Hi, >> >> I noticed there is an uninitialized variable warning >> when compiling tree-ssa-loop-ivcanon.c file. >> >> Attached patch is a slight modification to avoid the war

Re: [PATCH, tree-ssa] Avoid -Wuninitialized warning in try_unroll_loop_completely()

2013-04-18 Thread Chung-Ju Wu
2013/4/18 Jeff Law : > On 04/15/2013 08:35 PM, Chung-Ju Wu wrote: >> >> I was using gcc-4.6.3, which is provided by Ubuntu 12.04, >> and the warning is displayed during the compilation process. >> As I tried to build another native gcc by myself with >> current

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-25 Thread Chung-Ju Wu
2013/4/23 Steven Bosscher : > On Mon, Apr 22, 2013 at 7:33 PM, Jeff Law wrote: >> On 04/22/2013 11:17 AM, Uros Bizjak wrote: >>> >>> On Tue, Jan 29, 2013 at 12:34 AM, Richard Henderson >>> wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: > > > 2013-01-28 Uros Bizjak > >

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-25 Thread Chung-Ju Wu
2013/4/23 Vladimir Makarov : > On 13-04-22 2:19 PM, Steven Bosscher wrote: >> >> On Mon, Apr 22, 2013 at 7:33 PM, Jeff Law wrote: >>> >>> On 04/22/2013 11:17 AM, Uros Bizjak wrote: On Tue, Jan 29, 2013 at 12:34 AM, Richard Henderson wrote: > > On 01/28/2013 03:14 PM, Uros Bi

[PATCH, nds32] Committed: Enable HONOR_REG_ALLOC_ORDER when optimizing for size.

2014-05-07 Thread Chung-Ju Wu
) +++ gcc/ChangeLog (revision 210137) @@ -1,3 +1,8 @@ +2014-05-07 Chung-Ju Wu + + * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor + of using optimize_size. + 2014-05-06 Mike Stump * wide-int.h (wi::int_traits ): Always define. Index: gcc/config/nds32

Re: [PATCH] Change HONOR_REG_ALLOC_ORDER to a marco for C expression

2014-05-07 Thread Chung-Ju Wu
2014-05-02 14:41 GMT+08:00 Kito Cheng : > Hi Jeff: > >> I fixed up some minor whitespace issues and committed your patch. > > Thanks for your help :) Hi, I noticed the commit date in ChangeLog was incorrect for the patch. Fixed it as obvious. Committed into Rev.210138. Index: gcc/ChangeLog

Re: [PATCH] testsuite: Register loaded libs

2014-05-20 Thread Chung-Ju Wu
2014-05-09 16:36 GMT+08:00 Sebastian Huber : > On 2014-04-28 18:24, Mike Stump wrote: >> On Apr 28, 2014, at 12:32 AM, Sebastian >> Huber wrote: >>> >>> >I would like to add tests for C/C++ compatibility of atomic operations. >>> > >>> >http://gcc.gnu.org/ml/gcc/2014-04/msg00267.html >>> > >>> >Th

[PATCH, nds32] Committed: Minor adjustment to follow GNU coding standards.

2014-02-14 Thread Chung-Ju Wu
ixed it as obvious, committed as Rev.207774. Index: gcc/ChangeLog === --- gcc/ChangeLog (revision 207773) +++ gcc/ChangeLog (revision 207774) @@ -1,3 +1,8 @@ +2014-02-14 Chung-Ju Wu + + * config/nds

[PATCH, nds32] Committed: Fix typo in comment.

2014-02-14 Thread Chung-Ju Wu
-14 Chung-Ju Wu + * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment. + * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise. + +2014-02-14 Chung-Ju Wu + * config/nds32/nds32.c (nds32_naked_function_p): Follow the GNU coding standards. Index

[PATCH, nds32] Committed: Do not use nreverse() on DECL_ATTRIBUTES(current_function_decl)).

2014-02-14 Thread Chung-Ju Wu
@@ 2014-02-14 Chung-Ju Wu + * config/nds32/nds32.c (nds32_asm_function_prologue): Do not use + nreverse() because it changes the content of original tree list. + +2014-02-14 Chung-Ju Wu + * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment. * config/nds32

[PATCH, nds32] Committed: Have function name start in column one to follow GNU coding standards.

2014-07-18 Thread Chung-Ju Wu
(working copy) @@ -1,3 +1,11 @@ +2014-07-18 Chung-Ju Wu + + * config/nds32/nds32.c (nds32_can_eliminate): Follow the + GNU coding standards. + (nds32_register_move_cost): Likewise. + (nds32_memory_move_cost): Likewise. + (nds32_address_cost): Likewise. + 2014-07-18 Jan

Re: [Testsuite] Skip torture/pr60183.c for AVR target

2014-03-07 Thread Chung-Ju Wu
2014-02-17 20:00 GMT+08:00 Rainer Orth : > Senthil Kumar Selvaraj writes: > >> The newly added gcc.dg/torture/pr60183.c test fails for the AVR target >> with an "array size too large" error. This patch marks the test as >> unsupported for AVR, following the example of other such tests in the >> te

[PATCH, doc] Add myself as NDS32 port contributor in the documentation.

2014-03-23 Thread Chung-Ju Wu
html'. Is it OK for trunk? Index: gcc/ChangeLog === --- gcc/ChangeLog (revision 208744) +++ gcc/ChangeLog (working copy) @@ -1,3 +1,11 @@ +2014-03-24 Chung-Ju Wu + + * doc/contrib.texi: Add myself as Andes

[PATCH, doc] Mention nds32*-*-elf in the target specific installation notes.

2014-03-23 Thread Chung-Ju Wu
Index: gcc/ChangeLog === --- gcc/ChangeLog (revision 208744) +++ gcc/ChangeLog (working copy) @@ -1,3 +1,11 @@ +2014-03-24 Chung-Ju Wu + + * doc/install.texi: Document nds32*-*-elf. + 2014-03-20 Eri

Re: [PATCH, doc] Mention nds32*-*-elf in the target specific installation notes.

2014-03-24 Thread Chung-Ju Wu
2014-03-24 14:52 GMT+08:00 Rainer Orth : > Chung-Ju Wu writes: > >> +@anchor{nds32x-x-elf} >> +@heading nds32*-*-elf >> +Andes NDS32 target. >> + >> +Use @samp{configure --target=nds32le-elf --enable-languages=c,c++} to >> configure >> +GCC@ f

Re: [PATCH, doc] Add myself as NDS32 port contributor in the documentation.

2014-03-25 Thread Chung-Ju Wu
2014-03-24 20:07 GMT+08:00 Gerald Pfeifer : > On Mon, 24 Mar 2014, Chung-Ju Wu wrote: >> I would like to add an item to describe myself as nds32 port contributor. >> The plaintext ChangeLog and patch are as below. >> Bootstrapped and the webpage can be successfully built via

Re: [PATCH, doc] Mention nds32*-*-elf in the target specific installation notes.

2014-03-25 Thread Chung-Ju Wu
2014-03-24 23:47 GMT+08:00 Gerald Pfeifer : > On Mon, 24 Mar 2014, Chung-Ju Wu wrote: >> +2014-03-24 Chung-Ju Wu >> + >> + * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf. > > Looks good to me. (The new patch avoids "elf" which I believe

<    1   2   3   >