From mboxrd@z Thu Jan 1 00:00:00 1970 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) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Tue, 9 Oct 2018 15:59:33 +0100 Message-Id: <20181009145933.18925-4-alex.bennee@linaro.org> 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: 8bit Subject: [Qemu-devel] [PATCH v2 3/3] tests/tcg: disable enterN insn tests for test-i386 with clang List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: famz@redhat.com, f4bug@amsat.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Paolo Bonzini , Richard Henderson , Eduardo Habkost 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ée --- 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]; 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 } #ifdef TEST_SSE -- 2.17.1