From b8e5038798b0dece628846acb5ad25d9d4e60395 Mon Sep 17 00:00:00 2001 From: Guillaume Valadon Date: Fri, 15 Jun 2018 12:10:10 +0200 Subject: Toshiba MeP support --- test/arch/mep/ir/test_datacache.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/arch/mep/ir/test_datacache.py (limited to 'test/arch/mep/ir/test_datacache.py') diff --git a/test/arch/mep/ir/test_datacache.py b/test/arch/mep/ir/test_datacache.py new file mode 100644 index 00000000..a462315d --- /dev/null +++ b/test/arch/mep/ir/test_datacache.py @@ -0,0 +1,13 @@ +# Toshiba MeP-c4 - Data cache instructions unit tests +# Guillaume Valadon + +from ut_helpers_ir import exec_instruction + + +class TestDataCache: + + def test_cache(self): + """Test CACHE execution""" + + # CACHE imm4, (Rm) + exec_instruction("CACHE 0x0, (R0)", [], []) -- cgit 1.4.1