diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-08-27 21:43:43 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2018-10-01 11:08:35 -0700 |
commit | 0946097051713031db1ff884c67081f291210ee2 (patch) | |
tree | 03c08eefabed09081c92d6cf54f611b08f6e6c75 /target/xtensa/helper.h | |
parent | c5e4e49258e9b89cb34c085a419dd9f862935c48 (diff) |
target/xtensa: extract test for an illegal instruction
- TB flags: add XTENSA_TBFLAG_CWOE that corresponds to the architectural
CWOE state;
- entry: move CWOE check from the helper to the test_ill_entry;
- retw: move CWOE check from the helper to the test_ill_retw;
- separate instruction disassembly loop and translation loop; save
disassembly results in local array;
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/helper.h')
-rw-r--r-- | target/xtensa/helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/helper.h b/target/xtensa/helper.h index 73444ae02c..c1b3bacb4c 100644 --- a/target/xtensa/helper.h +++ b/target/xtensa/helper.h @@ -5,6 +5,7 @@ DEF_HELPER_3(debug_exception, noreturn, env, i32, i32) DEF_HELPER_2(wsr_windowbase, void, env, i32) DEF_HELPER_4(entry, void, env, i32, i32, i32) +DEF_HELPER_2(test_ill_retw, void, env, i32) DEF_HELPER_2(retw, i32, env, i32) DEF_HELPER_2(rotw, void, env, i32) DEF_HELPER_3(window_check, noreturn, env, i32, i32) |