summaryrefslogtreecommitdiffstats
path: root/target/mips/translate.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-11-29 21:17:46 +0100
committerPhilippe Mathieu-Daudé2021-01-14 17:13:53 +0100
commit54ccff51022fcb93d8b3febe18c2bd663ce15ed9 (patch)
treeac2b556f6311b64991a24a99753ff11fa215f40e /target/mips/translate.h
parenttarget/mips: Extract MSA helper definitions (diff)
downloadqemu-54ccff51022fcb93d8b3febe18c2bd663ce15ed9.tar.gz
qemu-54ccff51022fcb93d8b3febe18c2bd663ce15ed9.tar.xz
qemu-54ccff51022fcb93d8b3febe18c2bd663ce15ed9.zip
target/mips: Declare gen_msa/_branch() in 'translate.h'
Make gen_msa() and gen_msa_branch() public declarations so we can keep calling them once extracted from the big translate.c in the next commit. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20201215225757.764263-18-f4bug@amsat.org> Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Diffstat (limited to 'target/mips/translate.h')
-rw-r--r--target/mips/translate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/mips/translate.h b/target/mips/translate.h
index 190d415c3b..ea9c18029d 100644
--- a/target/mips/translate.h
+++ b/target/mips/translate.h
@@ -174,5 +174,7 @@ extern TCGv bcond;
/* MSA */
void msa_translate_init(void);
+void gen_msa(DisasContext *ctx);
+void gen_msa_branch(DisasContext *ctx, uint32_t op1);
#endif