public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Cooper Qu <cooper.qu@linux.alibaba.com>
To: gengqi <gengqi@linux.alibaba.com>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH 1/7] C-SKY: Add fpuv3 instructions and CK860 arch
Date: Fri, 30 Oct 2020 11:28:55 +0800	[thread overview]
Message-ID: <f054226d-a826-dbb7-04fc-ff0f5dfdd7fb@linux.alibaba.com> (raw)
In-Reply-To: <20201029132302.1616-1-gengqi@linux.alibaba.com>

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.
> 	("Q"): Renamed and modified "csky_valid_fpuv2_mem_operand" to
> 	"csky_valid_mem_constraint_operand" to deal with both "Q" and "W"
> 	constraint.
> 	("Dv"): New constraint for const double value that can be used at
> 	fmovi instruction.
> 	* config/csky/csky-modes.def (HFmode): New mode.
> 	* config/csky/csky-protos.h (csky_valid_fpuv2_mem_operand): Rename
> 	to "csky_valid_mem_constraint_operand" and new support for constraint
> 	"W".
> 	(get_output_csky_movedouble_length): New.
> 	(fpuv3_output_move): New.
> 	(fpuv3_const_double): New.
> 	* config/csky/csky.c (csky_option_override): New arch CK860 with fpv3.
> 	(decompose_csky_address): Robustness adjust.
> 	(csky_print_operand): New "CONST_DOUBLE" operand.
> 	(csky_output_move): New support for fpv3 instructions.
> 	(get_output_csky_movedouble_length): New.
> 	(fpuv3_output_move): New.
> 	(fpuv3_const_double): New.
> 	(csky_emit_compare): New cover for float comparsion.
> 	(csky_emit_compare_float): Refine.
> 	(csky_vaild_fpuv2_mem_operand): Rename to
> 	"csky_valid_mem_constraint_operand" and new support for constraint "W".
> 	(ck860_rtx_costs): New.
> 	(csky_rtx_costs): New subcall for CK860.
> 	(regno_reg_class): New vregs for fpuv3.
> 	(csky_dbx_regno): Likewise.
> 	(csky_cpu_cpp_builtins): New builtin macro for fpuv3.
> 	(csky_conditional_register_usage): New suporrot for fpuv3.
> 	(csky_dwarf_register_span): New suporrot for fpuv3.
> 	(csky_init_builtins, csky_mangle_type): New support for "__fp16" type.
> 	(ck810_legitimate_index_p): New support for fp16.
> 	* gcc/config/csky/csky.h (TARGET_TLS): ADD CK860.
> 	(CSKY_VREG_P, CSKY_VREG_LO_P, CSKY_VREG_HI_P): New support for fpuv3.
> 	(TARGET_SINGLE_FPU): New support for fpuv3.
> 	(TARGET_SUPPORT_FPV3): New macro.
> 	(FIRST_PSEUDO_REGISTER): Value change, since the new fpuv3 regs.
> 	(FIXED_REGISTERS, CALL_REALLY_USED_REGISTERS, REGISTER_NAMES,
> 	 REG_CLASS_CONTENTS): Support for fpuv3.
> 	* gcc/config/csky/csky.md (movsf): Move to cksy_insn_fpu.md and adjust.
> 	(csky_movsf_fpv2): Likewise.
> 	(ck801_movsf): Likewise.
> 	(csky_movsf): Likewise.
> 	(movdf): Likewise.
> 	(csky_movdf_fpv2): Likewise.
> 	(ck801_movdf): Likewise.
> 	(csky_movdf): Likewise.
> 	(movsicc): Refine. Use "comparison_operatior" instead of
> 	"ordered_comparison_operatior".
> 	(addsicc): Likewise.
> 	(CSKY_FIRST_VFP3_REGNUM, CSKY_LAST_VFP3_REGNUM): New constant.
> 	(call_value_internal_vh): New insn.
> 	* config/csky/csky_cores.def (CK860): New arch and cpu.
> 	(fpv3): New 4 fpus: fpv3_hf, fpv3_hsf, fpv3_sdf and fpv3.
> 	* config/csky/csky_insn_fpu.md (mov<float_mode>): Move the float mov
> 	patterns from csky.md here.
> 	(fpuv2 instructions): Refactor. Separate all float patterns into
> 	emit-patterns and match-patterns, remain the emit-patterns here, and
> 	move the match-patterns to csky_insn_fpuv2.md.
> 	(fpuv3 instructions): Add patterns and fuse part of them with the
> 	fpuv2's.
> 	* config/csky/csky_insn_fpuv2.md: New file for fpuv2 instructions.
> 	* config/csky/csky_insn_fpuv3.md: New flie and new patterns for fpuv3
> 	isntructions.
> 	* config/csky/csky_isa.def (fcr): New.
> 	(fpv3): New 4 isa sets: fpv3_hi, fpv3_hf, fpv3_sf and fpv3_df.
> 	(CK860): New definition for ck860.
> 	* gcc/config/csky/csky_tables.opt (ck860): New processors ck860,
> 	ck860f. And new arch ck860.
> 	(fpv3): New 4 fpus: fpv3_hf, fpv3_hsf, fpv3_sdf and fpv3.
> 	* config/csky/predicates.md (csky_float_comparsion_operator): Delete
> 	"geu", "gtu", "leu", "ltu", which will never appear at float comparison.
> 	* config/cksy/t-csky-elf, config/csky/t-csky-linux: New for ck860.
> 	* doc/md.texi: Add "Q" and "W" constraints for C-SKY.
> ---
>   gcc/config/csky/constraints.md     |  13 +-
>   gcc/config/csky/csky-modes.def     |   2 +
>   gcc/config/csky/csky-protos.h      |   7 +-
>   gcc/config/csky/csky.c             | 650 ++++++++++++++++++++++++++----
>   gcc/config/csky/csky.h             | 162 ++++++--
>   gcc/config/csky/csky.md            | 127 ++----
>   gcc/config/csky/csky_cores.def     |  13 +
>   gcc/config/csky/csky_insn_fpu.md   | 798 +++++++++++++++----------------------
>   gcc/config/csky/csky_insn_fpuv2.md | 470 ++++++++++++++++++++++
>   gcc/config/csky/csky_insn_fpuv3.md | 506 +++++++++++++++++++++++
>   gcc/config/csky/csky_isa.def       |  15 +
>   gcc/config/csky/csky_tables.opt    |  21 +
>   gcc/config/csky/predicates.md      |   3 +-
>   gcc/config/csky/t-csky-elf         |   9 +-
>   gcc/config/csky/t-csky-linux       |  11 +-
>   gcc/doc/md.texi                    |   8 +
>   16 files changed, 2139 insertions(+), 676 deletions(-)
>   create mode 100644 gcc/config/csky/csky-modes.def
>   create mode 100644 gcc/config/csky/csky_insn_fpuv2.md
>   create mode 100644 gcc/config/csky/csky_insn_fpuv3.md
>
>

  parent reply	other threads:[~2020-10-30  3:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 13:22 gengqi
2020-10-29 13:22 ` [PATCH 2/7] C-SKY: Delete LO_REGS and HI_REGS, use HILO_REGS instead gengqi
2020-10-29 13:22 ` [PATCH 3/7] C-SKY: Bug fix for bad setting of TARGET_DSP and TARGET_DIV gengqi
2020-10-29 13:23 ` [PATCH 4/7] C-SKY: Separate FRAME_POINTER_REGNUM into FRAME_POINTER_REGNUM and HARD_FRAME_POINTER_REGNUM gengqi
2020-10-29 13:23 ` [PATCH 5/7] C-SKY: Add insn "ldbs" gengqi
2020-10-29 13:23 ` [PATCH 6/7] C-SKY: Cases for csky fpuv3 instructions gengqi
2020-10-30  3:28 ` Cooper Qu [this message]
2020-11-13 19:14   ` [PATCH 1/7] C-SKY: Add fpuv3 instructions and CK860 arch Jeff Law

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f054226d-a826-dbb7-04fc-ff0f5dfdd7fb@linux.alibaba.com \
    --to=cooper.qu@linux.alibaba.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gengqi@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).