aboutsummaryrefslogtreecommitdiff
path: root/target-mips/helper.h
diff options
context:
space:
mode:
authorLeon Alrae <leon.alrae@imgtec.com>2015-06-04 17:00:31 +0100
committerLeon Alrae <leon.alrae@imgtec.com>2015-06-11 10:13:29 +0100
commitce9782f40ac16660ea9437bfaa2c9c34d5ed8110 (patch)
tree359405ef71ce11ab76a77c82450f9af82f0c687e /target-mips/helper.h
parentadc370a48fd26b92188fa4848dfb088578b1936c (diff)
downloadqemu-ce9782f40ac16660ea9437bfaa2c9c34d5ed8110.zip
qemu-ce9782f40ac16660ea9437bfaa2c9c34d5ed8110.tar.gz
qemu-ce9782f40ac16660ea9437bfaa2c9c34d5ed8110.tar.bz2
target-mips: add ERETNC instruction and Config5.LLB bit
ERETNC is identical to ERET except that an ERETNC will not clear the LLbit that is set by execution of an LL instruction, and thus when placed between an LL and SC sequence, will never cause the SC to fail. Presence of ERETNC is denoted by the Config5.LLB. Signed-off-by: Leon Alrae <leon.alrae@imgtec.com> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips/helper.h')
-rw-r--r--target-mips/helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-mips/helper.h b/target-mips/helper.h
index bdd5ba5..8df98c7 100644
--- a/target-mips/helper.h
+++ b/target-mips/helper.h
@@ -348,6 +348,7 @@ DEF_HELPER_1(tlbinvf, void, env)
DEF_HELPER_1(di, tl, env)
DEF_HELPER_1(ei, tl, env)
DEF_HELPER_1(eret, void, env)
+DEF_HELPER_1(eretnc, void, env)
DEF_HELPER_1(deret, void, env)
#endif /* !CONFIG_USER_ONLY */
DEF_HELPER_1(rdhwr_cpunum, tl, env)