From patchwork Tue Jun 25 12:59:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksandar Markovic X-Patchwork-Id: 1122040 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rt-rk.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45Y5tJ1342z9s3C for ; Tue, 25 Jun 2019 23:02:48 +1000 (AEST) Received: from localhost ([::1]:59996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfl5s-0006IX-MI for incoming@patchwork.ozlabs.org; Tue, 25 Jun 2019 09:02:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49404) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfl3e-0006Ah-Ph for qemu-devel@nongnu.org; Tue, 25 Jun 2019 09:00:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfl3a-0003Uq-Jn for qemu-devel@nongnu.org; Tue, 25 Jun 2019 09:00:22 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:58804 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfl3Y-0003Rf-AC for qemu-devel@nongnu.org; Tue, 25 Jun 2019 09:00:18 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 7413C1A477F; Tue, 25 Jun 2019 15:00:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id 2D1111A4741; Tue, 25 Jun 2019 15:00:12 +0200 (CEST) From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Tue, 25 Jun 2019 14:59:59 +0200 Message-Id: <1561467605-31065-1-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH v5 0/6] target/mips: Improve MSA TCG tests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Aleksandar Markovic This series contains various improvements and additions of MSA ASE TCG tests. v4->v5: - added patch on MIPS32R6 support - amended other patches v3->v4: - patches 1 and 2 from v3 got reviewed and integrated into upstream, so they are now removed in v4 - added tests for MSA int multiply instructions - added support for MSA big-endian target testings - amend4ed remainign patches - rebased to the latest code v2->v3: - added some tests from move group - added some tests from int dot product group - completed tests from bit move group v1->v2: - added some tests from bit move group - improved and updated commit messages Aleksandar Markovic (6): tests/tcg: target/mips: Add tests for MSA bit move instructions tests/tcg: target/mips: Add tests for MSA move instructions tests/tcg: target/mips: Amend tests for MSA int dot product instructions tests/tcg: target/mips: Amend tests for MSA int multiply instructions tests/tcg: target/mips: Add support for MSA big-endian target testings tests/tcg: target/mips: Add support for MSA MIPS32R6 testings tests/tcg/mips/include/wrappers_msa.h | 96 +++- .../mips/user/ase/msa/bit-move/test_msa_binsl_b.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_binsl_d.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_binsl_h.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_binsl_w.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_binsr_b.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_binsr_d.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_binsr_h.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_binsr_w.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_bmnz_v.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_bmz_v.c | 214 +++++++ .../mips/user/ase/msa/bit-move/test_msa_bsel_v.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpadd_s_d.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpadd_s_h.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpadd_s_w.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpadd_u_d.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpadd_u_h.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpadd_u_w.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpsub_s_d.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpsub_s_h.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpsub_s_w.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpsub_u_d.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpsub_u_h.c | 214 +++++++ .../ase/msa/int-dot-product/test_msa_dpsub_u_w.c | 214 +++++++ .../user/ase/msa/int-multiply/test_msa_maddv_b.c | 214 +++++++ .../user/ase/msa/int-multiply/test_msa_maddv_d.c | 214 +++++++ .../user/ase/msa/int-multiply/test_msa_maddv_h.c | 214 +++++++ .../user/ase/msa/int-multiply/test_msa_maddv_w.c | 214 +++++++ .../user/ase/msa/int-multiply/test_msa_msubv_b.c | 214 +++++++ .../user/ase/msa/int-multiply/test_msa_msubv_d.c | 214 +++++++ .../user/ase/msa/int-multiply/test_msa_msubv_h.c | 214 +++++++ .../user/ase/msa/int-multiply/test_msa_msubv_w.c | 214 +++++++ tests/tcg/mips/user/ase/msa/move/test_msa_move_v.c | 149 +++++ .../mips/user/ase/msa/test_msa_compile_32r6eb.sh | 627 +++++++++++++++++++++ .../mips/user/ase/msa/test_msa_compile_32r6el.sh | 627 +++++++++++++++++++++ .../mips/user/ase/msa/test_msa_compile_64r6eb.sh | 627 +++++++++++++++++++++ ...t_msa_compile.sh => test_msa_compile_64r6el.sh} | 561 ++++++++++-------- tests/tcg/mips/user/ase/msa/test_msa_run.sh | 326 ----------- tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh | 363 ++++++++++++ tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh | 363 ++++++++++++ tests/tcg/mips/user/ase/msa/test_msa_run_64r6eb.sh | 363 ++++++++++++ tests/tcg/mips/user/ase/msa/test_msa_run_64r6el.sh | 363 ++++++++++++ 42 files changed, 10523 insertions(+), 576 deletions(-) create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsl_b.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsl_d.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsl_h.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsl_w.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsr_b.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsr_d.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsr_h.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_binsr_w.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_bmnz_v.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_bmz_v.c create mode 100644 tests/tcg/mips/user/ase/msa/bit-move/test_msa_bsel_v.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_s_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_s_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_s_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_u_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_u_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpadd_u_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_s_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_s_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_s_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_u_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_u_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-dot-product/test_msa_dpsub_u_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-multiply/test_msa_maddv_b.c create mode 100644 tests/tcg/mips/user/ase/msa/int-multiply/test_msa_maddv_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-multiply/test_msa_maddv_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-multiply/test_msa_maddv_w.c create mode 100644 tests/tcg/mips/user/ase/msa/int-multiply/test_msa_msubv_b.c create mode 100644 tests/tcg/mips/user/ase/msa/int-multiply/test_msa_msubv_d.c create mode 100644 tests/tcg/mips/user/ase/msa/int-multiply/test_msa_msubv_h.c create mode 100644 tests/tcg/mips/user/ase/msa/int-multiply/test_msa_msubv_w.c create mode 100644 tests/tcg/mips/user/ase/msa/move/test_msa_move_v.c create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r6eb.sh create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_32r6el.sh create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_compile_64r6eb.sh rename tests/tcg/mips/user/ase/msa/{test_msa_compile.sh => test_msa_compile_64r6el.sh} (77%) delete mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run.sh create mode 100644 tests/tcg/mips/user/ase/msa/test_msa_run_32r6eb.sh create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_32r6el.sh create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_64r6eb.sh create mode 100755 tests/tcg/mips/user/ase/msa/test_msa_run_64r6el.sh Reviewed-by: Aleksandar Rikalo