From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD8xD-0006Dz-TX for qemu-devel@nongnu.org; Tue, 11 Feb 2014 03:44:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WD8x5-0002fr-G4 for qemu-devel@nongnu.org; Tue, 11 Feb 2014 03:44:31 -0500 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:57661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD8x5-0002fc-13 for qemu-devel@nongnu.org; Tue, 11 Feb 2014 03:44:23 -0500 Received: by mail-la0-f44.google.com with SMTP id hr13so5733307lab.3 for ; Tue, 11 Feb 2014 00:44:21 -0800 (PST) From: Max Filippov Date: Tue, 11 Feb 2014 12:43:29 +0400 Message-Id: <1392108215-20794-1-git-send-email-jcmvbkbc@gmail.com> Subject: [Qemu-devel] [PATCH 0/6] target-xtensa: add basic checks to cache opcodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Max Filippov Hello, this series adds basic checks (privilege level, address validity, windowed register validation) to all cache opcodes. This improves emulation quality and allows to debug cache-related issues that happen on real hardware. Max Filippov (6): target-xtensa: add RRRI4 opcode format fields target-xtensa: add basic checks to dcache opcodes target-xtensa: add basic checks to icache opcodes target-xtensa: add overridable test_init macro target-xtensa: allow using core configuration in tests target-xtensa: add basic tests for cache opcodes target-xtensa/helper.h | 1 + target-xtensa/op_helper.c | 5 ++ target-xtensa/translate.c | 74 +++++++++++++++++++++++++++++ tests/tcg/xtensa/Makefile | 12 +++-- tests/tcg/xtensa/macros.inc | 6 +++ tests/tcg/xtensa/test_b.S | 2 +- tests/tcg/xtensa/test_bi.S | 2 +- tests/tcg/xtensa/test_boolean.S | 2 +- tests/tcg/xtensa/test_break.S | 2 +- tests/tcg/xtensa/test_bz.S | 2 +- tests/tcg/xtensa/test_cache.S | 97 +++++++++++++++++++++++++++++++++++++++ tests/tcg/xtensa/test_clamps.S | 2 +- tests/tcg/xtensa/test_extui.S | 2 +- tests/tcg/xtensa/test_fail.S | 2 +- tests/tcg/xtensa/test_interrupt.S | 2 +- tests/tcg/xtensa/test_loop.S | 2 +- tests/tcg/xtensa/test_mac16.S | 2 +- tests/tcg/xtensa/test_max.S | 2 +- tests/tcg/xtensa/test_min.S | 2 +- tests/tcg/xtensa/test_mmu.S | 6 +-- tests/tcg/xtensa/test_mul16.S | 2 +- tests/tcg/xtensa/test_mul32.S | 2 +- tests/tcg/xtensa/test_nsa.S | 2 +- tests/tcg/xtensa/test_pipeline.S | 2 +- tests/tcg/xtensa/test_quo.S | 2 +- tests/tcg/xtensa/test_rem.S | 2 +- tests/tcg/xtensa/test_rst0.S | 2 +- tests/tcg/xtensa/test_s32c1i.S | 2 +- tests/tcg/xtensa/test_sar.S | 2 +- tests/tcg/xtensa/test_sext.S | 2 +- tests/tcg/xtensa/test_shift.S | 2 +- tests/tcg/xtensa/test_sr.S | 2 +- tests/tcg/xtensa/test_timer.S | 2 +- tests/tcg/xtensa/test_windowed.S | 2 +- 34 files changed, 221 insertions(+), 34 deletions(-) create mode 100644 tests/tcg/xtensa/test_cache.S -- 1.8.1.4