From a21b96dd6661d30b6322a934bacc9c4faa248f29 Mon Sep 17 00:00:00 2001
From: Nelson Chu <nelson.chu@sifive.com>
Date: Fri, 16 Apr 2021 16:48:27 +0800
Subject: [PATCH] Update the ChangeLog, and add the missing entries.

---
 gas/ChangeLog     | 8 ++++++--
 opcodes/ChangeLog | 5 +++++
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 10127ccb03b..ed25af6ac45 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2021-04-16  Lifang Xia <lifang_xia@c-sky.com>
+
+	* testsuite/gas/riscv/c-zero-imm.d: Compress addi a4,a4,0 to
+	c.mv a4,a4.
+	* testsuite/gas/riscv/c-zero-imm.s: Likewise.
+
 2021-04-14  Alan Modra  <amodra@gmail.com>
 
 	PR 27723
@@ -32,8 +38,6 @@
 	* testsuite/gas/ppc/prefix-pcrel.s,
 	* testsuite/gas/ppc/prefix-pcrel.d: Add more instructions.
 
-2021-04-09  Tejas Belagod  <tejas.belagod@arm.com>
-
 2021-04-12  Nelson Chu  <nelson.chu@sifive.com>
 
 	* testsuite/gas/riscv/march-fail-order-x-std.d: Renamed from
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index f63eb479749..dffc25cc158 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2021-04-16  Lifang Xia <lifang_xia@c-sky.com>
+
+	* riscv-opc.c (riscv_opcodes): New insn alias for addi. Compress
+	"addi d,CV,z" to "c.mv d,CV".
+
 2021-04-12  Alan Modra  <amodra@gmail.com>
 
 	* configure.ac (--enable-checking): Add support.