* [PATCH] RISC-V: Add FRM_ prefix to dynamic rounding mode enum
@ 2023-05-24 11:19 juzhe.zhong
2023-05-24 11:20 ` Kito Cheng
0 siblings, 1 reply; 3+ messages in thread
From: juzhe.zhong @ 2023-05-24 11:19 UTC (permalink / raw)
To: gcc-patches; +Cc: kito.cheng, palmer, rdapp.gcc, jeffreyalaw, Juzhe-Zhong
From: Juzhe-Zhong <juzhe.zhong@rivai.ai>
An obvious fix to make all enum naming consistent.
gcc/ChangeLog:
* config/riscv/riscv-protos.h (enum frm_field_enum): Add FRM_ prefix.
---
gcc/config/riscv/riscv-protos.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/riscv/riscv-protos.h b/gcc/config/riscv/riscv-protos.h
index 5f78fd579bb..36419c95bbd 100644
--- a/gcc/config/riscv/riscv-protos.h
+++ b/gcc/config/riscv/riscv-protos.h
@@ -251,7 +251,7 @@ enum frm_field_enum
FRM_RDN = 0b010,
FRM_RUP = 0b011,
FRM_RMM = 0b100,
- DYN = 0b111
+ FRM_DYN = 0b111
};
}
--
2.36.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] RISC-V: Add FRM_ prefix to dynamic rounding mode enum
2023-05-24 11:19 [PATCH] RISC-V: Add FRM_ prefix to dynamic rounding mode enum juzhe.zhong
@ 2023-05-24 11:20 ` Kito Cheng
2023-05-24 11:41 ` Li, Pan2
0 siblings, 1 reply; 3+ messages in thread
From: Kito Cheng @ 2023-05-24 11:20 UTC (permalink / raw)
To: juzhe.zhong; +Cc: gcc-patches, kito.cheng, palmer, rdapp.gcc, jeffreyalaw
ok
On Wed, May 24, 2023 at 7:20 PM <juzhe.zhong@rivai.ai> wrote:
>
> From: Juzhe-Zhong <juzhe.zhong@rivai.ai>
>
> An obvious fix to make all enum naming consistent.
>
> gcc/ChangeLog:
>
> * config/riscv/riscv-protos.h (enum frm_field_enum): Add FRM_ prefix.
>
> ---
> gcc/config/riscv/riscv-protos.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/riscv/riscv-protos.h b/gcc/config/riscv/riscv-protos.h
> index 5f78fd579bb..36419c95bbd 100644
> --- a/gcc/config/riscv/riscv-protos.h
> +++ b/gcc/config/riscv/riscv-protos.h
> @@ -251,7 +251,7 @@ enum frm_field_enum
> FRM_RDN = 0b010,
> FRM_RUP = 0b011,
> FRM_RMM = 0b100,
> - DYN = 0b111
> + FRM_DYN = 0b111
> };
> }
>
> --
> 2.36.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] RISC-V: Add FRM_ prefix to dynamic rounding mode enum
2023-05-24 11:20 ` Kito Cheng
@ 2023-05-24 11:41 ` Li, Pan2
0 siblings, 0 replies; 3+ messages in thread
From: Li, Pan2 @ 2023-05-24 11:41 UTC (permalink / raw)
To: Kito Cheng, juzhe.zhong
Cc: gcc-patches, kito.cheng, palmer, rdapp.gcc, jeffreyalaw
Committed, thanks Kito.
Pan
-----Original Message-----
From: Gcc-patches <gcc-patches-bounces+pan2.li=intel.com@gcc.gnu.org> On Behalf Of Kito Cheng via Gcc-patches
Sent: Wednesday, May 24, 2023 7:21 PM
To: juzhe.zhong@rivai.ai
Cc: gcc-patches@gcc.gnu.org; kito.cheng@sifive.com; palmer@rivosinc.com; rdapp.gcc@gmail.com; jeffreyalaw@gmail.com
Subject: Re: [PATCH] RISC-V: Add FRM_ prefix to dynamic rounding mode enum
ok
On Wed, May 24, 2023 at 7:20 PM <juzhe.zhong@rivai.ai> wrote:
>
> From: Juzhe-Zhong <juzhe.zhong@rivai.ai>
>
> An obvious fix to make all enum naming consistent.
>
> gcc/ChangeLog:
>
> * config/riscv/riscv-protos.h (enum frm_field_enum): Add FRM_ prefix.
>
> ---
> gcc/config/riscv/riscv-protos.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/riscv/riscv-protos.h
> b/gcc/config/riscv/riscv-protos.h index 5f78fd579bb..36419c95bbd
> 100644
> --- a/gcc/config/riscv/riscv-protos.h
> +++ b/gcc/config/riscv/riscv-protos.h
> @@ -251,7 +251,7 @@ enum frm_field_enum
> FRM_RDN = 0b010,
> FRM_RUP = 0b011,
> FRM_RMM = 0b100,
> - DYN = 0b111
> + FRM_DYN = 0b111
> };
> }
>
> --
> 2.36.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-24 11:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 11:19 [PATCH] RISC-V: Add FRM_ prefix to dynamic rounding mode enum juzhe.zhong
2023-05-24 11:20 ` Kito Cheng
2023-05-24 11:41 ` Li, Pan2
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).