[COMMITTED] RISC-V: Fix typo in the testsuite

Message ID 2a546455f456ad190e8c4785fd2b170659bf2236.1693886450.git.research_trasio@irq.a4lg.com
State New
Headers
Series [COMMITTED] RISC-V: Fix typo in the testsuite |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_check--master-arm warning Patch is already merged

Commit Message

Tsukasa OI Sept. 5, 2023, 4:02 a.m. UTC
  From: Tsukasa OI <research_trasio@irq.a4lg.com>

gas/ChangeLog:

	* testsuite/gas/riscv/csr.s: Fix typo. mhcounteren is superseded
	by minstretcfg, not mcyclecfg.
---
 gas/testsuite/gas/riscv/csr.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: a303646f1754f9c6178448bedc6100d871f118c0
  

Patch

diff --git a/gas/testsuite/gas/riscv/csr.s b/gas/testsuite/gas/riscv/csr.s
index 6457436af263..3d8da5488a04 100644
--- a/gas/testsuite/gas/riscv/csr.s
+++ b/gas/testsuite/gas/riscv/csr.s
@@ -447,7 +447,7 @@ 
 	csr mbadaddr		# 0x343 in 1.9.1, but the value is mtval since 1.10
 	csr mucounteren		# 0x320 in 1.9.1, dropped in 1.10, but the value is mcountinhibit since 1.11
 	csr mscounteren		# 0x321 in 1.9.1, dropped in 1.10, but the value is mcyclecfg for Smcntrpmf extension
-	csr mhcounteren		# 0x322 in 1.9.1, dropped in 1.10, but the value is mcyclecfg for Smcntrpmf extension
+	csr mhcounteren		# 0x322 in 1.9.1, dropped in 1.10, but the value is minstretcfg for Smcntrpmf extension
 	csr mbase		# 0x380 in 1.9.1, dropped in 1.10
 	csr mbound		# 0x381 in 1.9.1, dropped in 1.10
 	csr mibase		# 0x382 in 1.9.1, dropped in 1.10