From patchwork Thu Dec 1 05:14:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pranith Kumar X-Patchwork-Id: 9455401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 74F5860585 for ; Thu, 1 Dec 2016 05:20:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6052228497 for ; Thu, 1 Dec 2016 05:20:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54F01284C9; Thu, 1 Dec 2016 05:20:08 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3C96028497 for ; Thu, 1 Dec 2016 05:20:05 +0000 (UTC) Received: from localhost ([::1]:48168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCJmu-0006lC-7O for patchwork-qemu-devel@patchwork.kernel.org; Thu, 01 Dec 2016 00:20:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCJhj-0002sH-Hh for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCJhi-0007Ne-DT for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:43 -0500 Received: from mail-yw0-x241.google.com ([2607:f8b0:4002:c05::241]:33207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCJhi-0007MN-71 for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:42 -0500 Received: by mail-yw0-x241.google.com with SMTP id s68so16780270ywg.0 for ; Wed, 30 Nov 2016 21:14:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UwR2jvmosiZJvwWNx4E7BSoiwxf/bLd6Rgtqf/AItys=; b=KEmANozxPG0fOuPm9IcdKy89cKLjuKTYB+DPZOeN+Vze7rB6fVohydKVhd15KaK1Jg j0SeaU5sBj3TNRMrjwRwkhYmbuC1N3pCUMTpkwbJWkf4wU53S3H0bxz3K2dHC+hsEcQc cherXW/KeZjoBmlKOY8HRk0N3F0Ko9EqtROuzbw1xBmiufoUD6BgMWxyLyhxm/d9pb1T ep0enlrkMelW1u3F+UFMooeZ0ehbpyKLIU/5sJdS7WUh9lQQUeb9ONhNgmFKP28ewrDR FK4dnnjM7knDgynzpKUTEUmiHt0d5Eb3sWHvWXrHPqmd39kDKuQ30YQs25EQCfbGrdkY KJMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UwR2jvmosiZJvwWNx4E7BSoiwxf/bLd6Rgtqf/AItys=; b=Za68qvTF4ipkm1E2TIWGgDnNQPGZSVopXUuCGYD0E0HU/rsD4DRvMOz/deir0hBOxa q2h/MV1lQybYykiW2S/tn6fAbsVNDhY30HKa3p0YDICsE4TKcKtE/Yyrsqx6uQAx6sgF Jjho9yKUmxxHYNbW9r+a6ZU7ckXWz83veqpbpjysMG9m0IkyOoy5DxbQ0+YyV6sPeGoA WU3qhGZafQvYSjniWqapx7NAavcvhSOUTfi9Pqy9Q6D7Wmb+TC5Sr1tMBmrorv3DFIOd WNVi1J4TIwoxv+HyireJteY0xhVasQk4b/zVVRtJEm+uLj2cR5nk+YO0buVztcn1AyTi nE7w== X-Gm-Message-State: AKaTC02hB+8YI5NKHlBsugx5P6fh0s/xSXxZD1LqMj0rHW0SQ8MwLlC272kntvoIB8Pg8Q== X-Received: by 10.129.88.213 with SMTP id m204mr36897849ywb.130.1480569281291; Wed, 30 Nov 2016 21:14:41 -0800 (PST) Received: from localhost.localdomain (c-73-207-178-95.hsd1.ga.comcast.net. [73.207.178.95]) by smtp.gmail.com with ESMTPSA id l73sm24681068ywc.54.2016.11.30.21.14.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Nov 2016 21:14:40 -0800 (PST) From: Pranith Kumar To: alex.bennee@linaro.org Date: Thu, 1 Dec 2016 00:14:23 -0500 Message-Id: <20161201051433.17168-10-bobby.prani@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161201051433.17168-1-bobby.prani@gmail.com> References: <20161201051433.17168-1-bobby.prani@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::241 Subject: [Qemu-devel] [PATCH 09/19] test-i386: modernize vector code v4sf 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: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , qemu-devel@nongnu.org, rth@twiddle.net Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Marc-André Lureau Fixes the following compiler warning: tests/tcg/test-i386.c:2110:1: warning: specifying vector types with __attribute__ ((mode)) is deprecated [-Wattributes] typedef int __m64 __attribute__ ((__mode__ (__V2SI__))); ^~~~~~~ Signed-off-by: Marc-André Lureau Signed-off-by: Pranith Kumar --- tests/tcg/test-i386.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/tcg/test-i386.c b/tests/tcg/test-i386.c index 0f7b943..b0f8975 100644 --- a/tests/tcg/test-i386.c +++ b/tests/tcg/test-i386.c @@ -2107,15 +2107,14 @@ static void test_enter(void) #ifdef TEST_SSE -typedef int __m64 __attribute__ ((__mode__ (__V2SI__))); -typedef float __m128 __attribute__ ((__mode__(__V4SF__))); +typedef float v4sf __attribute__ ((vector_size(4 * sizeof(float)))); typedef union { double d[2]; float s[4]; uint32_t l[4]; uint64_t q[2]; - __m128 dq; + v4sf dq; } XMMReg; static uint64_t __attribute__((aligned(16))) test_values[4][2] = {