From nobody Fri Nov 7 12:30:11 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1539097336610576.9910014830814; Tue, 9 Oct 2018 08:02:16 -0700 (PDT) Received: from localhost ([::1]:52267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9tWW-0000Eh-Oe for importer@patchew.org; Tue, 09 Oct 2018 11:02:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9tUK-0007Qo-Le for qemu-devel@nongnu.org; Tue, 09 Oct 2018 11:00:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9tU2-0006P7-Q5 for qemu-devel@nongnu.org; Tue, 09 Oct 2018 10:59:54 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:41745) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9tU2-0006Ni-Gw for qemu-devel@nongnu.org; Tue, 09 Oct 2018 10:59:38 -0400 Received: by mail-wr1-x444.google.com with SMTP id x12-v6so2178125wru.8 for ; Tue, 09 Oct 2018 07:59:38 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j6-v6sm15413062wru.20.2018.10.09.07.59.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Oct 2018 07:59:36 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3148F3E05DE; Tue, 9 Oct 2018 15:59:34 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CW7w4g5g4azLuk8avnnJoOV9ukFZLHIUiW5UFVvB+UU=; b=fCOoinsLTe/0EH2PU2q2KdCDJrVSzT2cAHNzHARd4ldM/LQ+KhEN0t5htzlPRmsQ7b JJpBKNwYPcs9N67Fw2+6tSpsP+aKYtUKZItT7Oj3Lj9D/9bhkrGX9VEqlj9F9kZV9cL3 iX5grVjhuXLV2HOVZr/m/bmVbDiXU+Co4U2Zk= 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:mime-version:content-transfer-encoding; bh=CW7w4g5g4azLuk8avnnJoOV9ukFZLHIUiW5UFVvB+UU=; b=qFaXmu0+QXFjJzfH6RQERp2KuW7SP8S8op0aUN0PXhhwqgWDl7ByN/LCggLbLMr4vD 7I65b5rGPirxYMHTcSlUePoThkafeRGrKrqtdr/qv7fBWV9aBTY+YVApWnsdMMFiAvKL 5tnP6n+7M2an5XVK1smX+C9CIDyUyA3x/ROg9eBU2d6HfzozrBS65yIZa7YiMqIFVdVT S/LC+lQKFDEvcOwVekV28hooTCwpDNU2h9OkqZN0b1ivUHBJnxEA2YnWgT/4Se/laRy7 aFLq1GA/2VBSz6hbkFmGorr/yJKbwTo6ET/R8B79jEpwEMxAzzVJMoFuIu4oi8wfShJz L1KQ== X-Gm-Message-State: ABuFfogW6QbN0gk9PlZjLE6WmCyRVZFnNHLSHRrck37cTgtBvPG8tKFG PjXpGVe5o0ifAq38QB9pWw+HWg== X-Google-Smtp-Source: ACcGV60kiFymvUX6CjDwyOAr4WKnW4/YXWfyWo8w3b+6o3Uktbj9Jyjz4fxclkjeqdWVuDGLpPVOwg== X-Received: by 2002:a5d:628c:: with SMTP id k12-v6mr19132380wru.83.1539097177088; Tue, 09 Oct 2018 07:59:37 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 9 Oct 2018 15:59:33 +0100 Message-Id: <20181009145933.18925-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181009145933.18925-1-alex.bennee@linaro.org> References: <20181009145933.18925-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::444 Subject: [Qemu-devel] [PATCH v2 3/3] tests/tcg: disable enterN insn tests for test-i386 with clang 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: famz@redhat.com, Eduardo Habkost , f4bug@amsat.org, Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 The enter[qwl] instructions aren't supported by clang's inline assembler. Apply the hammer to work around it when we re-use our system compiler to build tcg tests. Signed-off-by: Alex Benn=C3=A9e --- tests/tcg/i386/test-i386.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tcg/i386/test-i386.c b/tests/tcg/i386/test-i386.c index c5f67000e4..da632c9b67 100644 --- a/tests/tcg/i386/test-i386.c +++ b/tests/tcg/i386/test-i386.c @@ -2098,6 +2098,7 @@ long enter_stack[4096]; =20 static void test_enter(void) { +#if !(defined __clang__) #if defined(__x86_64__) TEST_ENTER("q", uint64_t, 0); TEST_ENTER("q", uint64_t, 1); @@ -2114,6 +2115,7 @@ static void test_enter(void) TEST_ENTER("w", uint16_t, 1); TEST_ENTER("w", uint16_t, 2); TEST_ENTER("w", uint16_t, 31); +#endif } =20 #ifdef TEST_SSE --=20 2.17.1