2513e83f07490451eb4be593454afa1f513b6153 Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Thu, 7 Dec 2023 13:33:43 +0800
Subject: [PATCH] gcc-14: Add arm cortex-m52 cpu support
---
htdocs/gcc-14/changes.html | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/htdocs/gcc-14/changes.html b
On 2024/01/10 22:52 UTC+8, Gerald Pfeifer wrote:
On Wed, 10 Jan 2024, Kyrylo Tkachov wrote:
Hi Gerald,
The Arm Cortex-M52 CPU has been added to the upstream:
https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642230.html
I would like to document this on the gcc-14 changes.html page.
I c
MVE and PACBTI enabled in
GCC.
Bootstrapped and tested on arm-none-eabi.
Is it OK for trunk?
Regards,
jasonwucjFrom d0856b516c5d270a852f3edd9df5dadccde5b94e Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Wed, 6 Dec 2023 15:49:58 +0800
Subject: [PATCH 1/2] arm: Add support for Arm Cortex-M52
Hi,
This is the patch to add cortex-m52 in the Arm-related options
sections of the gcc invoke.texi documentation.
Is it OK for trunk?
Regards,
jasonwucjFrom b7ce3d499d4bf087ec54a5f834876c9108d46c3d Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Thu, 7 Dec 2023 11:26:25 +0800
Subject: [PATCH
On 2024/01/08 22:31 UTC+8, Kyrylo Tkachov wrote:
Hi jasonwucj,
-Original Message-
From: Chung-Ju Wu
Sent: Monday, January 8, 2024 6:16 AM
To: gcc-patches ; Kyrylo Tkachov
; Richard Earnshaw
Cc: jason...@anshingtek.com.tw
Subject: [PATCH 1/2] arm: Add cortex-m52 core
Hi,
Recently
On 2024/01/08 22:32 UTC+8, Kyrylo Tkachov wrote:
-Original Message-
From: Chung-Ju Wu
Sent: Monday, January 8, 2024 6:17 AM
To: gcc-patches ; Kyrylo Tkachov
; Richard Earnshaw
Cc: jason...@anshingtek.com.tw
Subject: [PATCH 2/2] arm: Add cortex-m52 doc
Hi,
This is the patch to
Hi, GCC global reviewers,
The nds32 port initial patch is still awaiting for
any global reviewer's approval.
Since there is no further comment in these days,
is it OK for trunk?
Thanks in advance. :)
Best regards,
jasonwucj
2013/8/13 Chung-Ju Wu :
> Hi, GCC Global Maintainers,
>
On 7/24/13 11:46 PM, Chung-Ju Wu wrote:
> On 7/10/13 6:56 AM, Joseph S. Myers wrote:
>> On Mon, 8 Jul 2013, Chung-Ju Wu wrote:
>
> Thanks for the review comments.
> A revised patch is provided and here is a summary:
>
> 1. Handle -march option within the compiler pro
On 7/31/13 7:07 PM, Chung-Ju Wu wrote:
> On 7/25/13 12:41 AM, Chung-Ju Wu wrote:
>
> According to Joseph's comment in this discussion thread:
> http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01372.html
>
> Using LGPLv2.1+ with exception seems appropriate for sfp-machi
On 7/25/13 12:23 AM, Chung-Ju Wu wrote:
>
> A revised patch is provided and here is a summary:
>
> 1. The extend identifiers testcases are supposed to be tested.
> 2. Add preliminary nds32-specific testcases.
>
>
It has been a while since last v2 patch.
So I cre
On 7/25/13 12:25 AM, Chung-Ju Wu wrote:
> On 7/12/13 1:35 AM, Chung-Ju Wu wrote:
>>
>> Fixed accordingly.
>>
>> Thanks for the review comments. A revised patch is provided
>> and the issues you mentioned are fixed:
>>a. Describe nds32 built-in f
On 7/8/13 7:05 PM, Chung-Ju Wu wrote:
> 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
e and Andes Technology Corporation really appreciate it. :)
Best regards,
jasonwucj
On 8/25/13 11:28 PM, Chung-Ju Wu wrote:
> 2013/8/13 Chung-Ju Wu :
>> Hi, GCC Global Maintainers,
>>
>> The Andes nds32 port has been accepted by GCC SC [1]
>> and the initial patch
2013/9/10 Gerald Pfeifer :
> On Mon, 9 Sep 2013, Chung-Ju Wu wrote:
>> Is it OK to apply on the cvs wwwdoc trunk? :)
>
> I would perhaps say:
>
> "A new nds32 port supports the 32-bit architecture from Andes
> Technology Corporation"
>
> or similar.
>
2013/10/1 Diego Novillo :
> On Sat, Sep 28, 2013 at 9:54 AM, Joern Rennecke
> wrote:
>> The main part of the port (everything but the testsuite) is still waiting
>> for review:
>
> I have been reviewing these patches (I've gone through 2), and so far
> I find nothing surprising in them. I should
2013/10/6 Richard Sandiford :
> Chung-Ju Wu writes:
>> On 10/2/13 1:31 AM, Richard Sandiford wrote:
>>> Chung-Ju Wu writes:
>>>> + /* Use $r15, if the value is NOT in the range of Is20,
>>>> + we must output "sethi + ori" directly
2013/10/6 Chung-Lin Tang :
> On 2013/10/6 下午 06:33, Richard Sandiford wrote:
>> Chung-Lin Tang writes:
>>> On 2013/10/6 05:57 PM, Richard Sandiford wrote:
Another way to handle this would be to have the movsi expander split
large constant moves. When can_create_pseudo_p (), the intermed
Hi, all,
This is v4 patch for Andes nds32 port on machine description part 3,
which includes other rtl patterns and settings.
gcc/
2013-10-25 Chung-Ju Wu
Shiva Chen
* config/nds32/constants.md: New file.
* config/nds32/constraints.md: New file.
* config
Hi, GCC global reviewers,
I would like to thank Joseph Myers's preliminary review and
Richard Sandiford's help for further technical review in these
three months:
http://gcc.gnu.org/ml/gcc-patches/2013-07/msg01138.html
http://gcc.gnu.org/ml/gcc-patches/2013-10/msg01180.html
Their comments cle
+33,6 @@
!!
!!==
- .file "crtzero.S"
-
!!--
!! Jump to start up code
!!--
libgcc/
2013-10-29 Chung-Ju Wu
Shiva Chen
y, the valid @var{library} is @samp{newlib} or @samp{mculib}.
This option is only supported for the NDS32 target.
@item --with-build-time-tools=@var{dir}
gcc/
2013-10-29 Chung-Ju Wu
Shiva Chen
* doc/invoke.texi (NDS32 options): Document nds32 specific options.
2013/10/29 Joseph S. Myers :
> Since Richard looked at the machine description part of the port, I looked
> at the other pieces. I'm happy with those pieces with the following minor
> changes:
>
> http://gcc.gnu.org/ml/gcc-patches/2013-09/msg00520.html (libgcc): remove
> the .file directive from c
Hi, all,
Thanks for all who gave me suggestions, review comments,
and approval to this new nds32 port for GCC trunk.
The Andes nds32 port now is committed into trunk as Rev.204269:
http://gcc.gnu.org/r204269
We also add items on wwwdoc for nds32 port contribution:
htdocs/backends.html -- Re
===
--- gcc/ChangeLog (revision 205477)
+++ gcc/ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2013-11-28 Chung-Ju Wu
+
+ * config/nds32/nds32.c (nds32_rtx_costs): Adjust MULT cost if it is
+ not optimized for size.
+
2013-11-28 Jakub Jelinek
* cfgexpand.c (struct
Hi, Mike,
There is a pending testsuite patch for nds32 target:
http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01584.html
Is it OK for trunk? :)
Best regards,
jasonwucj
2013/11/14 Chung-Ju Wu :
>
> I would like to modify some testcases for nds32 target.
> Also I have some nds
On 11/30/13, 9:07 AM, Mike Stump wrote:
> On Nov 28, 2013, at 2:03 AM, Chung-Ju Wu wrote:
>> There is a pending testsuite patch for nds32 target:
>>http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01584.html
>>
>> Is it OK for trunk? :)
>
> Ok, but ple
2013/12/3 Mike Stump :
> On Dec 2, 2013, at 5:02 AM, Chung-Ju Wu wrote:
>> Perhaps I should have used the following description, which seems much
>> better:
>>
>> +/* { dg-skip-if "Variadic funcs have all args on stack. Normal funcs have
2013/12/11 Monk Chiang :
> Hi,
>
> Recently I used --target=nds32be-elf to configure nds32 gcc,
> it seems that the big endian is not set as default.
>
[...]
>
> The following is the patch to fix this issue. Tested on nds32be-elf.
>
> OK to apply?
>
> Index: common/config/nds32/nds32-common.c
> ==
2013/12/17 Monk Chiang :
>
> I add comment to describe why I adding TARGET_CPU_DEFAULT,
> and fix typo in ChangeLog fle.
>
> Thank you for your suggestion.
>
> Index: ChangeLog
> ===
> --- ChangeLog (revision 206039)
> +++ ChangeLog
>reg_offset,
- mode,
- type));
+ unsigned int regno;
+
+ regno = NDS32_AVAILABLE_REGNUM_FOR_ARG (cum->reg_offset, mode, type);
+ return gen_rtx_REG (mode, regno);
2013/12/21 Sylvestre Ledru :
> Hello
>
> Following this thread http://gcc.gnu.org/ml/gcc/2013-11/msg00260.html
> and this bug,
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55189
>
> I would like to propose the two following patches:
>
> I am activating -Wreturn-type by defaut and add the option -W
rom 2347e6efe69c32388cec09af310ebb02573ca749 Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Thu, 9 Nov 2017 20:28:40 +0800
Subject: [PATCH 1/7] Add new -mext-perf, -mext-perf2, and -mext-string
options.
---
gcc/common/config/nds32/nds32-common.c | 12
gcc/config/nds32/constraints
rom 3bc69293a88b0614789be8f49d2ef2c28a8a99fe Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Thu, 9 Nov 2017 22:58:40 +0800
Subject: [PATCH 3/7] The FUNC_RETURN is useless in the current implementation.
---
gcc/config/nds32/constants.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/config/nds32/constants.m
, REG_CLASS_NAMES,
REG_CLASS_CONTENTS): Define R5_REG, R8_REG, and FRAME_POINTER_REG to
support constraints usage.
Best regards,
jasonwucj
>From a3a77c515c52201de592ec641affc28f7020414f Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Sat, 11 Nov 2017 10:30:28 +0800
Subject: [PATCH
attributes.
Best regards,
jasonwucj
>From 61acc7f622e563d6b46e45b26ba1f03dcb61dcb5 Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Sun, 12 Nov 2017 16:18:39 +0800
Subject: [PATCH 5/7] Add nds32 vector modes.
---
gcc/config/nds32/iterators.md| 17 -
gcc/config/nds32/nds32-modes.
rom 1eaf9ddc17a3728294f6802a6d6cb4e8b4222c20 Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Sun, 12 Nov 2017 19:55:11 +0800
Subject: [PATCH 6/7] Reserve more register numbers for new registers in the
future.
---
gcc/config/nds32/nds32.h | 157 +++
1 file changed,
Mon Sep 17 00:00:00 2001
From: Chung-Ju Wu
Date: Fri, 10 Nov 2017 11:42:00 +0800
Subject: [PATCH] Add new nds32 options "-mext-perf", "-mext-perf2", and
"-mext-string" in the documentation.
---
gcc/doc/invoke.texi | 24 +---
1 file changed, 21 in
Hi, Gerald,
In previous patch we add new options for NDS32 port:
https://gcc.gnu.org/ml/gcc-patches/2018-01/msg01397.html
So I think I need to update GCC 8 release notes as well.
Index: htdocs/gcc-8/changes.html
===
RCS file: /c
Gerald Pfeifer on 2018/1/23 22:39 wrote:
On Tue, 23 Jan 2018, Chung-Ju Wu wrote:
+New command-line options -mext-perf -mext-perf2 -mext-string
Can you write this as
"...-mext-perf, -mext-perf2, and
-mext-string..."
please?
Approved with that change.
Thank you for
Hi, all,
For nds32 inline assembly code output, a newline character was missing.
The following commit is to fix the issue.
Committed as Rev.259642: https://gcc.gnu.org/r259642
gcc/
* config/nds32/nds32.h (ASM_APP_ON): Add missing newline character.
Best regards,
jasonwucj
Hi, all,
There was an error in nds32_print_operand() to output
cctl register. It would be better to set value earlier.
The following commit is to fix such issue.
Committed as Rev.259643: https://gcc.gnu.org/r259643
gcc/
* config/nds32/nds32.c (nds32_print_operand): Set op_value earlier
Hi, all,
For nds32 NDS32_ABI_2FP_PLUS abi design,
some settings and compilation options are required to be adjusted
so that we can build correct libgcc.a library.
Committed as Rev.259645: https://gcc.gnu.org/r259645
libgcc/
* config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PL
Hi, all,
We have to split move_di/df pattern when hard register is odd
so that the wrong assembly code can be avoided.
Committed as Rev.259646: https://gcc.gnu.org/r259646
gcc/
* config/nds32/nds32-doubleword.md: New define_split pattern for
illegal register number.
Best regar
Hi, all,
In the implementation of nds32_can_use_bclr_p(), nds32_can_use_bset_p(),
and nds32_can_use_btgl_p(), we better use HOST_WIDE_INT type and GET_MODE_MASK()
so that the mask would be good for the bit-operation checking.
Committed as Rev.259647: https://gcc.gnu.org/r259647
gcc/
*
2014-08-19 22:04 GMT+08:00 Vladimir Makarov :
> On 08/18/2014 10:51 AM, Kito Cheng wrote:
>> Hi Vladimir:
>>
>> Here is a tiny typo in comment, allono -> allocno.
>>
>> ChangLog
>> 2014-08-18 Kito Cheng
>>
>> * ira.c: Fix typo in comment.
> Thanks, Kito. Of course, the patch is ok. You
2014-08-22 1:45 GMT+08:00 Joseph S. Myers :
> On Thu, 21 Aug 2014, Richard Earnshaw wrote:
>
>> On 19/08/14 15:24, Kito Cheng wrote:
>> > Hi Richard:
>> >> Hmm, I'm not sure about this. It might not be used at present, but on:
>> >> AArch64, with more call-clobbered registers than call-saved regis
2014-08-07 1:22 GMT+08:00 David Malcolm :
> gcc/
> * config/nds32/nds32-protos.h (nds32_adjust_insn_length):
> Strengthen first param from rtx to rtx_insn *.
> * config/nds32/nds32.c (nds32_adjust_insn_length): Likewise for
> param "insn".
> ---
> gcc/config/nds32/n
Hi, all,
Committed as Rev. 214849: https://gcc.gnu.org/r214849
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.h (PIC_OFFSET_TABLE_REGNUM): Define.
Best regards,
jasonwucj
0001-PATCH-01-Define-PIC_OFFSET_TABLE_REGNUM-to-gp-regist.patch
Description: Binary data
Hi, all,
Committed as Rev. 214851: https://gcc.gnu.org/r214851
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_gen_stack_push_multiple): Rename to ...
(nds32_emit_stack_push_multiple): ... this.
(nds32_gen_stack_pop_multiple): Rename to
Hi, all,
Committed as Rev. 214852: https://gcc.gnu.org/r214852
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_gen_stack_v3push): Rename to ...
(nds32_emit_stack_v3push): ... this.
(nds32_gen_stack_v3pop): Rename to
Hi, all,
Committed as Rev. 214853: https://gcc.gnu.org/r214853
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32-predicates.c
(nds32_valid_stack_push_pop): Rename to ...
(nds32_valid_stack_push_pop_p): ... this.
* config/nds32/nds32-protos.h
Hi, all,
Committed as Rev. 214854: https://gcc.gnu.org/r214854
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.h (machine_function): Add some fields for
variadic arguments implementation.
Best regards,
jasonwucj
0005-PATCH-05-Preparation-in-nds32.h-of-using
Hi, all,
Committed as Rev. 214855: https://gcc.gnu.org/r214855
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32-isr.c (nds32_isr_function_p): Define new function
to check if FUNC is an interrupt service routine.
* config/nds32/nds32-protos.h
Hi, all,
Committed as Rev. 214856: https://gcc.gnu.org/r214856
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32-md-auxiliary.c (nds32_output_stack_push):
Check rtx for varargs implementation.
(nds32_output_stack_pop): Likewise.
* config/nds32/nds32
Hi, all,
Committed as Rev. 214857: https://gcc.gnu.org/r214857
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_compute_stack_frame): Do not use
v3push/v3pop for variadic function.
* config/nds32/nds32.md (prologue, epilogue): Likewise.
Best
Hi, all,
Committed as Rev. 214858: https://gcc.gnu.org/r214858
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_expand_prologue): Remove unused variables.
(nds32_expand_epilogue): Likewise.
(nds32_expand_prologue_v3push): Likewise
Hi, all,
Committed as Rev. 214859: https://gcc.gnu.org/r214859
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_function_arg): Define and rename some
GPR-specific stuff.
(nds32_function_arg_advance): Likewise.
(nds32_init_cumulative_args
Hi, all,
Committed as Rev. 214861: https://gcc.gnu.org/r214861
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_setup_incoming_varargs): New
implementation for TARGET_SETUP_INCOMING_VARARGS.
(nds32_strict_argument_naming): Refine comment
Hi, all,
Committed as Rev. 214862: https://gcc.gnu.org/r214862
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_compute_stack_frame): Prepare necessary
varargs information.
Best regards,
jasonwucj
0012-PATCH-12-Prepare-necessary-varargs-information-in
Hi, all,
Committed as Rev. 214863: https://gcc.gnu.org/r214863
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.h (FIRST_PARM_OFFSET): Set proper location
according to the value of crtl->args.pretend_args_size.
Best regards,
jasonwucj
0013-PATCH-13-Si
Hi, all,
Committed as Rev. 214865: https://gcc.gnu.org/r214865
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_function_arg): Deal with nameless
arguments.
(nds32_function_arg_advance): Deal with nameless arguments.
* config/nds32/nds32.h
Hi, all,
Committed as Rev. 214866: https://gcc.gnu.org/r214866
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_expand_prologue): Suppress fp-as-gp
optimization detection.
Best regards,
jasonwucj
0015-PATCH-15-Since-we-are-going-to-provide-new
Hi, all,
Committed as Rev. 214867: https://gcc.gnu.org/r214867
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_expand_prologue): Emit stack push
instructions for varargs implementation.
(nds32_expand_epilogue): Emit stack adjustment instructions
Hi, all,
Committed as Rev. 214868: https://gcc.gnu.org/r214868
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_arg_partial_bytes): New implementation
for TARGET_ARG_PARTIAL_BYTES.
Best regards,
jasonwucj
0017-PATCH-17-Provide-TARGET_ARG_PARTIAL_BYTES
Hi, all,
Committed as Rev. 214869: https://gcc.gnu.org/r214869
gcc/ChangeLog
2014-09-03 Chung-Ju Wu
* config/nds32/nds32.c (nds32_must_pass_in_stack): New implementation
for TARGET_MUST_PASS_IN_STACK.
Best regards,
jasonwucj
0018-PATCH-18-No-need-to-take-padding-into
Hi, all,
The variadic function ABI implmentation of current nds32 port on trunk
is incompatible to the past Andes toolchains. Fixing it requires many
changes on the different files. I split these changes into several
patches so that we can precisely describe the purpose of each
implementation in
target.
Also I have some nds32 target specific tests which is
suggested by Joseph earlier:
http://gcc.gnu.org/ml/gcc-patches/2013-07/msg00396.html
The patch is attached and a ChangeLog is as below:
gcc/testsuite/
2013-11-14 Chung-Ju Wu
* g++.dg/other/PR23205.C: Skip for nds32
2013/11/24 Mike Stump :
> Richi has asked the we break the wide-int patch so that the individual port
> and front end maintainers can review their parts without have to go through
> the entire patch.This patch covers the nds32 port.
>
> Ok?
>
OK.
The changes are straightforward on using wid
2014-06-06 21:37 GMT+08:00 Vladimir Makarov :
> On 2014-06-04, 12:31 PM, Kito Cheng wrote:
>>
>> LRA generate caller-save register store/restore during split register,
>> not generate by caller-save.c:save_call_clobbered_regs, so initialize
>> this module by init_caller_save is meaningless if LRA e
Hi,
This patch is the preparation for subsquent patches of modules
implementation. In addition to create several empty source files,
we also need to modify config.gcc and provide t-nds32 makefile fragment.
Committed as Rev.212280.
https://gcc.gnu.org/r212280
Best regards,
jasonwucj
Hi,
There are many helper functions implemented in nds32.c to
deal with interrupt service routine code generation.
We move all of them into nds32-isr.c module.
Committed as Rev.212281.
https://gcc.gnu.org/r212281
Best regards,
jasonwucj
Hi,
For supporting target specific builtin functions,
we use an individual nds32-intrinsic.c module to implement
essential and helpler functions.
Committed as Rev.212282.
https://gcc.gnu.org/r212282
Best regards,
jasonwucj
2014-07-04 18:47 GMT+08:00 Chung-Ju Wu :
> Hi,
>
> This patch is the preparation for subsquent patches of modules
> implementation. In addition to create several empty source files,
> we also need to modify config.gcc and provide t-nds32 makefile fragment.
>
> Committed as
2014-07-04 18:48 GMT+08:00 Chung-Ju Wu :
> Hi,
>
> There are many helper functions implemented in nds32.c to
> deal with interrupt service routine code generation.
> We move all of them into nds32-isr.c module.
>
> Committed as Rev.212281.
> https://gcc.gnu.org/r212
2014-07-04 18:50 GMT+08:00 Chung-Ju Wu :
> Hi,
>
> For supporting target specific builtin functions,
> we use an individual nds32-intrinsic.c module to implement
> essential and helpler functions.
>
> Committed as Rev.212282.
> https://gcc.gnu.org/r212282
>
Sorry I fo
Hi,
Many external functions are used in predicates and constraints checking.
We move all of them into nds32-predicates.c module so that we
can easily maintain those implementation in the future.
Committed as Rev.212283.
https://gcc.gnu.org/r212283
Best regards,
jasonwucj
0004-PATCH-04-Move-
Hi,
We provide a nds32-cost.c module to maintain some cost implementation
required by target hooks and macros. Currently we only migrate
nds32_rtx_costs()
and nds32_address_cost() into the module.
Committed as Rev.212284.
https://gcc.gnu.org/r212284
Best regards,
jasonwucj
0005-PATCH-05-Mo
Hi,
The module is prepared for future implementation of pipeline models.
In this patch we only add a few comment to describe its purpose.
Committed as Rev.212285.
https://gcc.gnu.org/r212285
Best regards,
jasonwucj
0006-PATCH-06-Preparation-of-nds32-pipelines-auxiliary.c-.patch
Description:
Hi,
The multiple load/store instructions are provided by nds32 target and
some memory access behaviors are able to utilize such instuctions.
We use nds32-memory-manipulation.c module to hold those memory related
implementation.
Committed as Rev.212287.
https://gcc.gnu.org/r212287
Best regards
Hi,
There is a target specific optimization, called fp-as-gp optimization,
in the nds32 port. We are planning to make it as an individual pass.
By now we just move related implementation into nds32-fp-as-gp.c module.
Committed as Rev.212288.
https://gcc.gnu.org/r212288
Best regards,
jasonwuc
Hi, all,
In the nds32 port, we are expecting the implementation in nds32.c
is going to gradually grow up. For the sake of future maintenance,
we decide to provide individual modules and then migrate some
implementation from nds32.c into the modules.
The following is a series of patches:
https:
Hi, all,
When the help option --target-help is issued, the available items
for -march=X are supposed to be displayed automatically.
We need to complete -march= option design to perform such mechanism.
gcc/ChangeLog
2014-11-21 Chung-Ju Wu
* config/nds32/nds32.opt (march): Add help
2014-11-21 14:33 GMT+08:00 Chung-Ju Wu :
> Hi, all,
[snip]
>
> gcc/ChangeLog
>
> 2014-11-21 Chung-Ju Wu
>
> * config/nds32/nds32.opt (march): Add help message.
>
Sorry for that I forgot to attach patch file in the previous mail.
Best regards,
jasonwucj
00
Hi, all,
There is a wrong CFI info when frame pointer is needed.
The root cause is that we forgot to set fp_adjust_insn as
RTX_FRAME_RELATED_P rtx.
Fix this issue with following patch.
gcc/ChangeLog
2014-11-21 Chung-Ju Wu
* config/nds32/nds32.c (nds32_expand_prologue): Set
2014-11-21 Chung-Ju Wu
* config/nds32/nds32.c (nds32_emit_stack_push_multiple): Add new
vaarg_p argument and create correct CFI info.
(nds32_expand_prologue): Pass true or false to
nds32_emit_stack_push_multiple function.
Committed as Rev. 217903: https
Hi, all,
In the nds32_legitimate_address_p function, we should look into LO_SUM's
operand so that we can precisely identify if it is a valid address.
This can help to avoid extra move instruction and improve code generation.
gcc/ChangeLog
2014-11-21 Chung-Ju Wu
* config/nds32/
2015-02-15 10:33 GMT+08:00 Chung-Ju Wu :
> Hi, all,
>
> There are some major changes on NDS32 port in GCC-5.0:
> https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00316.html
> https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00992.html
> https://gcc.gnu.org/ml/gcc-patches/201
Hi, all,
This patch is just to rename some variables so that
one can easily tell that those variables are used to
describe general purpose registers.
No functionality changes. Committed as Rev.221306:
https://gcc.gnu.org/r221306
Best regards,
jasonwucj
diff --git a/gcc/config/nds32/nds32-md
Hi, all,
I just happened to notice that there are some incorrect date
in ChangeLog files. I guess this can be considered as obvious fix.
Committed it as Rev.219704: https://gcc.gnu.org/r219704
Index: gcc/ChangeLog
===
--- gcc/Chang
2015-01-14 17:56 GMT+08:00 Chung-Ju Wu :
> Hi, all,
>
> In this patch of nds32 port:
> https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00799.html
>
> Since we have a new option -mcmodel= as substitution for -mgp-direct,
> we need to update documentation about such change acc
2015-01-14 17:58 GMT+08:00 Chung-Ju Wu :
> Hi, all,
>
> In this patch of nds32 port:
> https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00969.html
>
> Since we remove the implementation of -mforce-fp-as-gp, -mforbid-fp-as-gp,
> and -mex9 options, we need to update documentation
there is a return behavior after pop25 instruction.
This patch was committed last week before stage 4:
https://gcc.gnu.org/r219710
gcc/ChangeLog
2015-01-16 Chung-Ju Wu
* config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
* config/nds32/nds32.md
9711
gcc/ChangeLog
2015-01-16 Chung-Ju Wu
* config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
* config/nds32/nds32.md (unspec_volatile_func_return): Remove.
(return_internal): New.
(return): Define this named pattern.
(simple_return): Define
https://gcc.gnu.org/r219712
gcc/ChangeLog
2015-01-16 Chung-Ju Wu
* config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
prototype.
(nds32_expand_epilogue_v3pop): Likewise.
* config/nds32/nds32.md (sibcall): Define this for sibling call
2015-01-18 16:36 GMT+08:00 Gerald Pfeifer :
> On Wednesday 2015-01-14 17:56, Chung-Ju Wu wrote:
>> 2015-01-14 Chung-Ju Wu
>>
>> * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
>> remove -mgp-direct option.
>>
>> Although th
2015-01-18 16:38 GMT+08:00 Gerald Pfeifer :
> On Wednesday 2015-01-14 17:58, Chung-Ju Wu wrote:
>> 2015-01-14 Chung-Ju Wu
>>
>> * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
>> -mforbid-fp-as-gp, and -mex9 options.
>
> Can you cov
Hi, all,
There are some major changes on NDS32 port in GCC-5.0:
https://gcc.gnu.org/ml/gcc-patches/2014-09/msg00316.html
https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00992.html
https://gcc.gnu.org/ml/gcc-patches/2015-01/msg00993.html
This patch is to describe them in changes.html.
Althou
ision 244256)
+++ gcc/ChangeLog (working copy)
@@ -1,3 +1,12 @@
+2017-01-10 Chung-Ju Wu
+
+ Backport from mainline
+ 2016-04-28 Segher Boessenkool
+
+ PR target/70668
+ * config/nds32/nds32.md (casesi): Don't access the operands array
+ out of bounds.
+
Hi, all,
I noticed that some 8-spaces should be replaced with tab character.
Here is a patch to refine formatting and comments in nds32 port.
No functionality changes.
Committed as Rev.252874: http://gcc.gnu.org/r252874
gcc/
* config/nds32/nds32.c: Refine formatting and comments.
Hi, all,
In the nds32 port, most of time we prefer reducing code size.
So we modify the nds32_option_optimization_table[] to apply
-fsched-pressure and -fomit-frame-pointer for specific
optimization level.
Committed as Rev.252876: https://gcc.gnu.org/r252876
gcc/
* common/config/nds32/n
1 - 100 of 210 matches
Mail list logo