On Thu, Aug 22, 2024 at 10:57:10AM +1000, Richard Henderson wrote:
On 8/22/24 07:50, Deepak Gupta wrote:
--- a/target/riscv/insn_trans/trans_rva.c.inc
+++ b/target/riscv/insn_trans/trans_rva.c.inc
@@ -18,6 +18,8 @@
  * this program.  If not, see <http://www.gnu.org/licenses/>.
  */
+#include "exec/memop.h"
+

Why? This will have been done long ago, within the includes of translate.c, the parent of this file.


Leftover from early versions. Thought I removed it.
Will fix it.

+static bool trans_ssrdp(DisasContext *ctx, arg_ssrdp *a)
+{
+    if (!ctx->bcfi_enabled || a->rd == 0) {
+        return false;
+    }
+
+    TCGv dest = tcg_temp_new();

dest = dest_gpr(ctx, a->rd);

Ok.




r~

Reply via email to