diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2014-10-30 12:06:53 +0000 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2014-12-10 11:13:45 +0000 |
commit | 2b2f7d97d856a4e7020d881ec1e6e60be64d0ab6 (patch) | |
tree | f1dc2d8d1a7cdcd92782ff64def4b469b2882137 /target-tricore/helper.h | |
parent | ed51626066ea40092335f653780b6d1ca22c574a (diff) | |
download | hqemu-2b2f7d97d856a4e7020d881ec1e6e60be64d0ab6.zip hqemu-2b2f7d97d856a4e7020d881ec1e6e60be64d0ab6.tar.gz |
target-tricore: Add instructions of RLC opcode format
Add instructions of RLC opcode format.
Add helper psw_write/read.
Add microcode generator gen_mtcr/mfcr, which loads/stores a value to a core special function register, which are defined in csfr.def
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-tricore/helper.h')
-rw-r--r-- | target-tricore/helper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target-tricore/helper.h b/target-tricore/helper.h index 4893060..2eb33ea 100644 --- a/target-tricore/helper.h +++ b/target-tricore/helper.h @@ -36,3 +36,6 @@ DEF_HELPER_2(stucx, void, env, i32) /* Address mode helper */ DEF_HELPER_1(br_update, i32, i32) DEF_HELPER_2(circ_update, i32, i32, i32) +/* PSW cache helper */ +DEF_HELPER_2(psw_write, void, env, i32) +DEF_HELPER_1(psw_read, i32, env) |