public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <jeffreyalaw@gmail.com>
To: juzhe.zhong@rivai.ai, gcc-patches@gcc.gnu.org
Cc: kito.cheng@gmail.com, kito.cheng@sifive.com, palmer@dabbelt.com,
	palmer@rivosinc.com, rdapp.gcc@gmail.com
Subject: Re: [PATCH V3] RISC-V: Add rounding mode operand for fixed-point patterns
Date: Mon, 15 May 2023 07:41:54 -0600	[thread overview]
Message-ID: <65411c00-1c43-88d6-220b-5e18ed153bdf@gmail.com> (raw)
In-Reply-To: <20230515102550.228989-1-juzhe.zhong@rivai.ai>



On 5/15/23 04:25, juzhe.zhong@rivai.ai wrote:
> From: Juzhe-Zhong <juzhe.zhong@rivai.ai>
> 
> Since we are going to have fixed-point intrinsics that are modeling rounding mode
> https://github.com/riscv-non-isa/rvv-intrinsic-doc/pull/222
> 
> We should have operand to specify rounding mode in fixed-point instructions.
> We don't support these modeling rounding mode intrinsics yet but we will definetely
> support them later.
> 
> This is the preparing patch for new coming intrinsics.
> 
> gcc/ChangeLog:
> 
>          * config/riscv/riscv-protos.h (enum vxrm_field_enum): New enum.
>          * config/riscv/riscv-vector-builtins.cc (function_expander::use_exact_insn): Add default rounding mode operand.
>          * config/riscv/riscv.cc (riscv_hard_regno_nregs): Add VXRM_REGNUM.
>          (riscv_hard_regno_mode_ok): Ditto.
>          (riscv_conditional_register_usage): Ditto.
>          * config/riscv/riscv.h (DWARF_FRAME_REGNUM): Ditto.
>          (VXRM_REG_P): Ditto.
>          (RISCV_DWARF_VXRM): Ditto.
>          * config/riscv/riscv.md: Ditto.
>          * config/riscv/vector.md: Ditto.
OK.
jeff

  reply	other threads:[~2023-05-15 13:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-15 10:25 juzhe.zhong
2023-05-15 13:41 ` Jeff Law [this message]
2023-05-15 14:26   ` Li, Pan2

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=65411c00-1c43-88d6-220b-5e18ed153bdf@gmail.com \
    --to=jeffreyalaw@gmail.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=juzhe.zhong@rivai.ai \
    --cc=kito.cheng@gmail.com \
    --cc=kito.cheng@sifive.com \
    --cc=palmer@dabbelt.com \
    --cc=palmer@rivosinc.com \
    --cc=rdapp.gcc@gmail.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).