From patchwork Tue Feb 19 06:10:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10819283 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2F61E1575 for ; Tue, 19 Feb 2019 06:19:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C1702B2A2 for ; Tue, 19 Feb 2019 06:19:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 109092B2D4; Tue, 19 Feb 2019 06:19:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AF7132B2A2 for ; Tue, 19 Feb 2019 06:19:33 +0000 (UTC) Received: from localhost ([127.0.0.1]:42410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvyke-0002Zs-SK for patchwork-qemu-devel@patchwork.kernel.org; Tue, 19 Feb 2019 01:19:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvydY-0005Gs-7X for qemu-devel@nongnu.org; Tue, 19 Feb 2019 01:12:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvydX-00074H-ET for qemu-devel@nongnu.org; Tue, 19 Feb 2019 01:12:12 -0500 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]:33323) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvydV-00073t-On for qemu-devel@nongnu.org; Tue, 19 Feb 2019 01:12:11 -0500 Received: by mail-lj1-x242.google.com with SMTP id f24-v6so16402592ljk.0 for ; Mon, 18 Feb 2019 22:12:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0x1HTJK9ZjOPMpOWDb0G6cOmYexXYaBh3SWwA0xBYdg=; b=SmP7D6UkffJOLxoHKFm/Gb5YmtDM54QqL+zz+a8nokBfouB7qgumiZb/glHV9ahQq+ 6x76MTr+xo9giaw5fCawnMBxMDoPFASBw/Q2WRcQHS7wmJlVvb8Ne9M7JJH/3cirWrRI IPZuvTgYGGjC5nlB7TPi5P/Qc3sSXImGM8K/CmIJ01Fk7bSiEj9r6d9dZhkW7IeaBlOq NbhW0nXbknXeMqq2gNfiBgOjyhSYM3+MK3K4I/LquYuo9ORkfkSBkm1SNaypmhXz1YSP YY6K5F1RP3W2OvR8+fL3SwHni8/BJex1VHYYfWFzO3Fh9BFSV/X4sSfIV+y3/N1Vhu/0 oY8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0x1HTJK9ZjOPMpOWDb0G6cOmYexXYaBh3SWwA0xBYdg=; b=WNkMeOIy9ACSpi6LkKwdgk++zRHR7/A0ywqEB2RjD4OHMVpWEvtajyKxtia7M8HZ3m 0p0E1slElTFClU8c3vN/fpHiTvWRIb1ThDdz4R+tGxT1yahsPwjQAxtyT16gOo+lTmfa qhPkZC5J4W2nqPTFgsQs8cN6fuRJeesqr2bBXOi5BQmBCo8OUnwbuYgbfVphs15Ic0bH e3Kr528+Fi0oqUay3/30jkDpN7Z2o9SzMjUjUyk/k9J2ZDMpNOWNMxq8nRhkoZWO6XGf 7i5yzh5L4nw+cw4HoiPBr0QzR0a479ORIpA92rNZhdL5UQ+pzYw806JZG+BM+U8YmiPO tVgA== X-Gm-Message-State: AHQUAuZb3z/+ycqA40i65H2FfcF3tXmH9EPl4/W9V7fqqVpaFnHQ4kY2 T6eOCY2p+VqOsPzblPvkZgBPBNBE34c= X-Google-Smtp-Source: AHgI3IZ1DvTo/JhdpD4oBjN77zcxLXsShCCKLp6IvN1btvyL3/HNDCxraCMplCvW9xqiAHh/W/Swbw== X-Received: by 2002:a2e:9e95:: with SMTP id f21-v6mr16055230ljk.128.1550556728235; Mon, 18 Feb 2019 22:12:08 -0800 (PST) Received: from octofox.hsd1.ca.comcast.net. (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id f16-v6sm4235745lji.88.2019.02.18.22.12.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Feb 2019 22:12:07 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Mon, 18 Feb 2019 22:10:55 -0800 Message-Id: <20190219061111.10231-8-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190219061111.10231-1-jcmvbkbc@gmail.com> References: <20190219061111.10231-1-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::242 Subject: [Qemu-devel] [PATCH 07/23] tests/tcg/xtensa: enable boolean tests X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Uncomment test_boolean in the test makefile. Make actual tests code conditional on the presence of boolean option in the config. Signed-off-by: Max Filippov --- tests/tcg/xtensa/Makefile | 2 +- tests/tcg/xtensa/test_boolean.S | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/tcg/xtensa/Makefile b/tests/tcg/xtensa/Makefile index b3693809372b..aee0134ef5b9 100644 --- a/tests/tcg/xtensa/Makefile +++ b/tests/tcg/xtensa/Makefile @@ -31,7 +31,7 @@ CRT = crt.o vectors.o TESTCASES += test_b.tst TESTCASES += test_bi.tst -#TESTCASES += test_boolean.tst +TESTCASES += test_boolean.tst TESTCASES += test_break.tst TESTCASES += test_bz.tst TESTCASES += test_cache.tst diff --git a/tests/tcg/xtensa/test_boolean.S b/tests/tcg/xtensa/test_boolean.S index eac40e0973a3..5a850bfe7eac 100644 --- a/tests/tcg/xtensa/test_boolean.S +++ b/tests/tcg/xtensa/test_boolean.S @@ -2,6 +2,8 @@ test_suite boolean +#if XCHAL_HAVE_BOOLEANS + test all4 movi a2, 0xfec0 wsr a2, br @@ -20,4 +22,6 @@ test all4 assert eq, a2, a3 test_end +#endif + test_suite_end