public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [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

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).