Re: [PATCH] C-SKY: Fix wrong ld name with option -mfloat-abi=hard.

2020-09-16 Thread Cooper Qu via Gcc-patches
Approved. Thanks, Cooper On 9/16/20 11:28 AM, Jojo R wrote: gcc/ChangeLog: * config/csky/csky-linux-elf.h (GLIBC_DYNAMIC_LINKER): Use mfloat-abi. --- gcc/config/csky/csky-linux-elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/csky/csky-linux-elf

Re: [PATCH 3/3] C-SKY: Refine target name for elf target test

2020-09-16 Thread Cooper Qu via Gcc-patches
All of the three pathes have been pushed to trunk. Thanks, Cooper On 9/16/20 6:34 PM, Jojo R wrote: gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_profiling_available): Refine name of elf target. --- gcc/testsuite/lib/target-supports.exp | 2 +- 1 file changed, 1 ins

Re: [PATCH] C-SKY: Add -msim option

2020-09-17 Thread Cooper Qu via Gcc-patches
It looks good to me. Approved. Thanks, Cooper On 9/16/20 7:47 PM, Jojo R wrote: gcc/ChangeLog: * config/csky/csky.opt (msim): New. * doc/invoke.texi (C-SKY Options): Document -msim. * config/csky/csky-elf.h (LIB_SPEC): Add simulator runtime. --- gcc/config/csky/cs

Re: [PATCH 4/4] C-SKY: Separate FRAME_POINTER_REGNUM into FRAME_POINTER_REGNUM and HARD_FRAME_POINTER_REGNUM.

2021-05-24 Thread Cooper Qu via Gcc-patches
These four patches has been merged. On 5/24/21 8:22 PM, Geng Qi wrote: gcc/ChangeLog: * config/csky/csky.h (FRAME_POINTER_REGNUM): Use HARD_FRAME_POINTER_REGNUM and FRAME_POINTER_REGNUM instead of the signle definition. The signle definition may not work well at

Re: [PATCH] C-SKY: Add insn "ldbs".

2021-05-24 Thread Cooper Qu via Gcc-patches
Hi Geng Qi, Could you add a test case for this patch? On 4/30/21 9:00 PM, Geng Qi wrote: gcc/ChangeLog: config/csky/csky.md (cskyv2_sextend_ldbs): New insn. --- gcc/config/csky/csky.md | 10 ++ 1 file changed, 10 insertions(+) diff --git a/gcc/config/csky/csky.md b/gcc/con

Re: [PATCH] C-SKY: Cases for csky fpuv3 instructions.

2021-05-25 Thread Cooper Qu via Gcc-patches
Merged. And one thing to note is that the file path should be written in relative way. For example, gcc/testsuite/gcc.target/csky/fpuv3/fpuv3.exp should be  written as gcc.target/csky/fpuv3/fpuv3.exp. On 4/30/21 9:01 PM, Geng Qi wrote: gcc/testsuite/ChangeLog: * gcc/testsuite/gcc.targ

Re: [PATCH] C-SKY: Add insn "ldbs".

2021-05-25 Thread Cooper Qu via Gcc-patches
merged. On 5/25/21 6:45 PM, Geng Qi wrote: gcc/ * config/csky/csky.md (cskyv2_sextend_ldbs): New insn. gcc/testsuite/ * gcc/testsuite/gcc.target/csky/ldbs.c: New. --- gcc/config/csky/csky.md | 10 ++ gcc/testsuite/gcc.target/csky/ldbs.c | 11 +++

Re: [PATCH] C-SKY: Support for fpuv2:fldrd/fstrd and fpuv3:fldr.64/fstr.64.

2021-05-25 Thread Cooper Qu via Gcc-patches
Is any test case for these instructions? On 4/30/21 9:04 PM, Geng Qi wrote: gcc/ChangeLog: * config/csky/csky.c (ck810_legitimate_index_p): Modified for support "base + index" with DF mode. * config/csky/constraints.md ("Y"): New constraint for memory operands wi

Re: [PATCH] C-SKY: Support fpuv2:fldrd/fstrd and fpuv3:fldr.64/fstr.64.

2021-05-25 Thread Cooper Qu via Gcc-patches
Pushed On 5/26/21 11:29 AM, Geng Qi wrote: gcc/ChangeLog: * config/csky/csky.c (ck810_legitimate_index_p): Modified for support "base + index" with DF mode. * config/csky/constraints.md ("Y"): New constraint for memory operands without index register. * c

Re: [PATCH] C-SKY: Fix for gcc.dg/torture/stackalign/builtin-return-2.c.

2021-05-25 Thread Cooper Qu via Gcc-patches
Pushed. On 4/30/21 9:02 PM, Geng Qi wrote: gcc/ChangeLog: * config/csky/csky.md (untyped_call): Emit clobber for return registers to mark them used. --- gcc/config/csky/csky.md | 4 1 file changed, 4 insertions(+) diff --git a/gcc/config/csky/csky.md b/gcc/config/csky/c

Re: [PATCH] C-SKY: Use default for TARGET_PROMOTE_PROTOTYPES.

2021-05-25 Thread Cooper Qu via Gcc-patches
Pushed. On 4/30/21 9:03 PM, Geng Qi wrote: gcc/ChangeLog: * config/csky/csky.c (TARGET_PROMOTE_PROTOTYPES): Use default. --- gcc/config/csky/csky.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/config/csky/csky.c b/gcc/config/csky/csky.c index 67cdf9c..e4c92fe 100644 ---

Re: [PATCH] C-SKY: Use default for TARGET_CAN_CHANGE_MODE_CLASS.

2021-05-26 Thread Cooper Qu via Gcc-patches
merged. On 4/30/21 9:02 PM, Geng Qi wrote: gcc/ChangeLog: * config/csky/csky.c (csky_can_change_mode_class): Delete. For csky, HF/SF mode use the low bits of VREGS. --- gcc/config/csky/csky.c | 16 1 file changed, 16 deletions(-) diff --git a/gcc/config/csk

Re: [PATCH v2] C-SKY: Support -mfloat-abi=hard.

2020-08-17 Thread Cooper Qu via Gcc-patches
Hi Jojo, Nowhere is this rule directly stated. But there are indent options showed in https://www.gnu.org/prep/standards/html_node/Formatting.html#Formatting corresponding to recommendations of C formatting style, which use the defualt 8 clumns tab wide. On 8/18/20 9:42 AM, Jojo R wrote:

Re: [PATCH v2] [RISC-V] Add support for TLS stack protector canary access

2020-07-29 Thread Cooper Qu via Gcc-patches
Sorry for later replay, I will add testcases on a following patch if the patch is accepted. Regards, Cooper On 2020/7/28 上午9:23, Kito Cheng wrote: Add testcase later is OK to me. On Tue, Jul 28, 2020 at 6:55 AM Jim Wilson wrote: On Sun, Jul 19, 2020 at 7:04 PM cooper wrote: Ping On 202

[PATCH] [csky] Delete big endian CPUs' mutilib for linux gcc.

2020-07-29 Thread Cooper Qu via Gcc-patches
gcc/ * config/csky/t-csky-linux: Delete big endian CPUs' multilib. --- gcc/config/csky/t-csky-linux | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gcc/config/csky/t-csky-linux b/gcc/config/csky/t-csky-linux index 16656c3..df471ed 100644 --- a/gcc/config/csky/t-

Re: [PATCH 1/7] C-SKY: Add fpuv3 instructions and CK860 arch

2020-10-29 Thread Cooper Qu via Gcc-patches
Hi gengqi, I could not find the patchs [3/7], [4/7] and [7/7]. Could you check the emails and send them again ? On 10/29/20 9:22 PM, gengqi via Gcc-patches wrote: gcc/ChangeLog: * config/csky/constraints.md ("W"): New constriant for mem operand with base reg, index register.

Re: [committed] C-SKY: Define SYSROOT_SUFFIX_SPEC.

2023-01-25 Thread Cooper Qu via Gcc-patches
On Fri, Jan 20, 2023 at 05:27:26PM +, Joseph Myers wrote: > I think this caused the build failures with build-many-glibcs.py shown by > my bot. SYSROOT_SUFFIX_SPEC should not be defined for a > --disable-multilib build; in such a build you can expect a single sysroot > without a suffix inv