From patchwork Thu May 17 17:46:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 915685 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=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="clTQnapD"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40mzrH0GMsz9s08 for ; Fri, 18 May 2018 04:10:53 +1000 (AEST) Received: from localhost ([::1]:38558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJNMY-0000oz-9u for incoming@patchwork.ozlabs.org; Thu, 17 May 2018 14:10:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJN6G-00039c-8Q for qemu-devel@nongnu.org; Thu, 17 May 2018 13:54:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJN6E-00075O-8Y for qemu-devel@nongnu.org; Thu, 17 May 2018 13:53:59 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:37934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJN6E-00074i-2I for qemu-devel@nongnu.org; Thu, 17 May 2018 13:53:58 -0400 Received: by mail-wr0-x243.google.com with SMTP id 94-v6so6562936wrf.5 for ; Thu, 17 May 2018 10:53:57 -0700 (PDT) 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=pdIc4bt8lfVhDYzgFFZfLYJFL76funjcLtghMEQkun0=; b=clTQnapDNAUNXB9aR+p52PIvLzYVb1KSpsiCgwZSgcAgPrKlTx6rzVRB35ZqCs1kaK 6chjtwobexWZu2w1EEObOsNtW9/Bv9fUahSGiBlgkmDBAXeOi3TWw0ZL47Gw7cPh4j7a L7TruUJ9y5UOTn5WNTy7YzB8v7mTS4rnEBA+E= 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=pdIc4bt8lfVhDYzgFFZfLYJFL76funjcLtghMEQkun0=; b=qEZN7m9vw7Lnovjcba2/JmixM3JEQa/MYKITE5fYeH0ih6dlqW5VwAerNfo8uF2q0a 9cLHUiIHOB6P2TOJPp/T9ac1YXJjsc8CHbfQ7I5eXy+yRItmwF2d5Tr4aZyG7SL0oorl 2kG0CgeRwNF2gJTJ0xGFv9+1RlFQPVWq/HUL8V9MvWm6C5cEtioeNPmtcDXo6nQ3lBUu 2xzpUQvZBdU+iU1CGQYP6gcur+WfmcePTThSXCoaT+adTwNMikeOIGOEdb4oU5tmjKTJ 012l82c4S3UmQEY3Mamqbt6o3wOKmGwOYfh7kkFvNRT6uM8v/HeFSYXlISlsta/xXvn5 IZhg== X-Gm-Message-State: ALKqPwf4FgqdH/kxIVjNA7ns3ISgiQT11K66HDfXX6fsVYFe5bVJMGVe RF0qNadiBKrLgTDqf1RbUgZrzQ== X-Google-Smtp-Source: AB8JxZpJ881Fs7HH3afD6DkwC2ZqIQuYnrb37OInxwRCSJ6FoW31BT/jK880i1JnkI2M8ZTqMzrIrg== X-Received: by 2002:adf:83c6:: with SMTP id 64-v6mr5442316wre.270.1526579636900; Thu, 17 May 2018 10:53:56 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g192-v6sm7539421wmd.36.2018.05.17.10.53.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 May 2018 10:53:52 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 0C9EF3E0ED1; Thu, 17 May 2018 18:47:21 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de Date: Thu, 17 May 2018 18:46:57 +0100 Message-Id: <20180517174718.10107-29-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180517174718.10107-1-alex.bennee@linaro.org> References: <20180517174718.10107-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PATCH v4 28/49] tests/tcg/arm: fix up test-arm-iwmmxt test 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: Peter Maydell , "open list:ARM" , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" We need to rename the source file to a .S so we can do a single-line assemble and link invocation. We also specify the additional CFLAGS for the compile as it's a non-standard ARM binary. Signed-off-by: Alex Bennée [rth: force fpu configuration] Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- v4 - include rth's -mfpu=fpv4-sp-d16 --- tests/tcg/arm/Makefile.target | 5 +++++ tests/tcg/arm/{test-arm-iwmmxt.s => test-arm-iwmmxt.S} | 0 2 files changed, 5 insertions(+) rename tests/tcg/arm/{test-arm-iwmmxt.s => test-arm-iwmmxt.S} (100%) diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index bc6962ecc6..1ef5d79fe3 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -8,6 +8,11 @@ ARM_SRC=$(SRC_PATH)/tests/tcg/arm # Set search path for all sources VPATH += $(ARM_SRC) +TESTS += hello-arm test-arm-iwmmxt hello-arm: CFLAGS+=-marm -ffreestanding hello-arm: LDFLAGS+=-nostdlib + +test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16 +test-arm-iwmmxt: test-arm-iwmmxt.S + $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) diff --git a/tests/tcg/arm/test-arm-iwmmxt.s b/tests/tcg/arm/test-arm-iwmmxt.S similarity index 100% rename from tests/tcg/arm/test-arm-iwmmxt.s rename to tests/tcg/arm/test-arm-iwmmxt.S