From patchwork Fri Jun 15 19:46:35 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: 138815 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1294013lji; Fri, 15 Jun 2018 13:39:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJlWbNIUyhn1mt4bksHXggPGlV9MQgzBaZP32t1C0zP9M3OGZncVaosH9PDIWui8NTs+Z8z X-Received: by 2002:ac8:2cb5:: with SMTP id 50-v6mr3083101qtw.64.1529095190133; Fri, 15 Jun 2018 13:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529095190; cv=none; d=google.com; s=arc-20160816; b=BjvA6g51svOVKpORdXIoSHVRj2DwDPyFXNkokT5DMPcpLOOUOxWu2//EC1tDuktsB0 rZ6+1M8iHqVhRCDkfp6td+AxtY+bsst5OEbbM0tqH/aBUkPois7/avPxVE9T0t7mnquX gEoZkxpcwzGy4s6UJfPlgpBJ6iptP4wn9IjUzOGFIfaLHIeY9amhG1cXru0ibwRjxfJu 8ivnuvqSYnWMZP7hRZx1c5QOPXudVXrWqtpO/NzTCc1khLE6b4sp97RcRyMDzevhhTcN JsZpTuPfHseuyPhVPa/p35WrhIuduVIjnHpB0dGO2tPPMbGhwy7MQCsEhKWkuegNHPzL HJWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=ZFez3mcnkkcXSaNmQ3jsvkno0zRSci4W89KwWlroVEw=; b=OEX0950qCHbfK7yZPtWof9Sh6eY02ERySwyDcOpd1lAn+Vc7X89JflxxiXwbRHat+h wwyYd39MTOi6SewSeKNAnaBHvmxNdSeS7veC0XJZp+VcYoHmHyncptUIq0sRXDVU578W xCKwDPldp6SdUUlg5lE6I7njg8KangqSwlBxYgai0qboP2WeF0/uWMpBgfeZQhZ6ObkM wMqJrYexC8gO82txV1dNk6ONtx4l2Rih7/voGvGaL4cN4GRiz0MUgCCbsR8kgAjy1P9g VQP1MCQZ+G5WN0kTr00Qh7XtB7SAFbsM7H+mm9REtYmGAOrtQx+/AUDGJ118wWnL6Srg EnZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IsMcEH2W; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u16-v6si461995qkk.289.2018.06.15.13.39.49 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 15 Jun 2018 13:39:50 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IsMcEH2W; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:49274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTvVd-0001LT-Jb for patch@linaro.org; Fri, 15 Jun 2018 16:39:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTuyL-0000e0-IP for qemu-devel@nongnu.org; Fri, 15 Jun 2018 16:05:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTuyH-0007oY-Hq for qemu-devel@nongnu.org; Fri, 15 Jun 2018 16:05:25 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:50743) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTuyG-0007nS-Qm for qemu-devel@nongnu.org; Fri, 15 Jun 2018 16:05:20 -0400 Received: by mail-wm0-x243.google.com with SMTP id e16-v6so5264765wmd.0 for ; Fri, 15 Jun 2018 13:05:20 -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=ZFez3mcnkkcXSaNmQ3jsvkno0zRSci4W89KwWlroVEw=; b=IsMcEH2WQREucTR08SDsitZjPBI6fwUaYd0zDU36HkeSpespyAducNZaDOrK8IpJEJ x3ZqMsc/mjg8hS0RPtjTepCQapVg068ICL725k5DbCjCK/h7cgYeTFtECmXkjyoEEUmI wevFeLTkN/PsQf4p1BwyuGl5XxsqpKaRe1mAk= 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=ZFez3mcnkkcXSaNmQ3jsvkno0zRSci4W89KwWlroVEw=; b=KdZ8NVHRp622cokUfhTX6umJwqfH2vzsVDXH+TQfCO3KaFoHt6AuORytvX4cbmATTV vsLd0AZyFJ+X0OFEwFLgNXPwLZSlKkYpfFcv3Ib7krV2ZEbrp1ZX2PutCbtH/I07uy3Y 3SqpalYRtxbOfWlZWPCgMYvPwZOxzEw2PYrcsT5BDxnatae4okRzrTH/bv04wmRjOIxD 4+VA5fG9win5eod0m1f8tTf/+QtSjc5Kwob+8l0CatkP6YIgXtNoGC6aTR0IkN2R1R0L 7W2plpDcx1bN+cnb/lhgbYRFkpGSXP+LY3QmQql/Civ+YtEX0onQQeD/x6R1LRtlImLH Zwcg== X-Gm-Message-State: APt69E3iIGTixKP6F9cWJXjtSG4J53oUvtZtU9g6pmiGX0V/7ScwFPM0 TllAsXQoiB9GGOKkoxBlVvcimw== X-Received: by 2002:a1c:e90f:: with SMTP id q15-v6mr2341905wmc.149.1529093119662; Fri, 15 Jun 2018 13:05:19 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u15-v6sm3059373wma.37.2018.06.15.13.05.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Jun 2018 13:05:14 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 6C0973E02D7; Fri, 15 Jun 2018 20:47:07 +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, peter.maydell@linaro.org Date: Fri, 15 Jun 2018 20:46:35 +0100 Message-Id: <20180615194705.28019-25-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180615194705.28019-1-alex.bennee@linaro.org> References: <20180615194705.28019-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:c09::243 Subject: [Qemu-devel] [PATCH v7 24/54] 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: "open list:ARM" , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.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 v5 - merge fixes --- 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%) -- 2.17.1 diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index 0312293dca..cadb385890 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -8,9 +8,14 @@ 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) + # On ARM Linux only supports 4k pages EXTRA_RUNS+=run-test-mmap-4096 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