From f5ad080bac84c443b645a37d61acc5c8fc08687c Mon Sep 17 00:00:00 2001 From: Ry Date: Sun, 5 Feb 2023 16:59:47 -0800 Subject: [PATCH] rv2fox: Support for emitting `rta` instructions --- gcc/rv2fox | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/rv2fox b/gcc/rv2fox index ff5ebf5..8efd99e 100755 --- a/gcc/rv2fox +++ b/gcc/rv2fox @@ -108,6 +108,12 @@ class Emitter: """ self.mov(rval, f'[{rmem}]', size) + def rta(self, dest, source): + """ + Emit an rta instruction + """ + self.insn(f'rta', dest, source) + class Converter: """