From patchwork Fri Jun 8 12:32:41 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: 137989 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp850795lji; Fri, 8 Jun 2018 06:06:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKSSEGsW8UJZzj1t4OFauCwyaovQ78s9mdNfabWm3yALkFjpoVOHGrgaQb8k6mU8EwSISte X-Received: by 2002:a0c:8842:: with SMTP id 2-v6mr5477126qvm.117.1528463183311; Fri, 08 Jun 2018 06:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528463183; cv=none; d=google.com; s=arc-20160816; b=CABGZ1ohIdAKZiACPtMIAmjLW/GAchZxBJ94SN3R6hOFgYRslHJoaZeIWRZhumdulP FrmyyCeAyN1xhHghaUcbFxTYDlOSdm0A2yhA1LgEwAfuxkV+5uEO+dXvwORhwi4Lh8pi nRTSawdQQZ1U60LIJoCqG84RGVLEYT3u/v+CF9H+JuQlheDx8qLoy6YJfeIYhN21oiUx bMfmupQfUuaAmDv50+d/GHabbCy/DNyyjxZiIObfkBi3AWGAnoUtc8d70VvdoKYoIlmu DA6Z5tneFn7LW329dG5O9euNioH4a5CxgLLGWP22P7/GIjBsUkzZA/k6Ld6vKQjZeYJ0 YUAw== 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=AK53VGLWfgzZqEG2034FbcwuK/q5dI5omSX9Vb1YiataaFJ2QeuZlYDQ7XiMGEDuOD baIFxHymy9UMeuV0/LpeQaReyzcHD1+jZhBBl5tu9EmnyKnZqmrx8LN0m4nIopwC4ZkM 2Ht2m/OZHGEkllHIdbJ+IH1OS6YxQ4gFkXtOltfT/4xfD7aS0Y/tN/yMVe7MznaHwpGP HM4KAFkkk61ayLlAm39dArtrcEBYGlaOQt+42K5/m03OOBLGy12ajvVl7x+/S8LvNgaD nWPwLWX9skmhknBejtVOLVVAMZlvXSGIIkdxF5H/M36JKXmrQnJhJVNeU/GASvJRXiUb rIWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=M9yriKlM; 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 f2-v6si12438553qta.209.2018.06.08.06.06.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 08 Jun 2018 06:06:23 -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=M9yriKlM; 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]:35545 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRH5y-0003Zd-Lw for patch@linaro.org; Fri, 08 Jun 2018 09:06:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRGfj-0005n0-QU for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRGfh-0000ul-0P for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:15 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:37403) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fRGfg-0000uK-QV for qemu-devel@nongnu.org; Fri, 08 Jun 2018 08:39:12 -0400 Received: by mail-wm0-x243.google.com with SMTP id r125-v6so3449303wmg.2 for ; Fri, 08 Jun 2018 05:39:12 -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=M9yriKlMRbzMXPICNsIh4KR1qim4fFxXVNJMpnHeaJfEFaQPOPvdVXL5NJ0HbX1vdG 0dhryAbHZMllmv5HW3RxBArIHljWJLIpwm9ZFGSP622HZFZsJRwvFNnWNaHWP8euzn6S jedx/Lgv8FpRaJd/nKbxrOop/1fwFYIc0zSzs= 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=mi0EhuUlBSOs44q6mzPMG7x6xRhLqleS01Sg5OpfJszKeB30qyfwpXuZIUJKusXkH3 yTSVGrx5aRD6Tgp2AWbA5gN8weZR9rcSNwquUeZmSlv6FGrihbwziwY9XSrwrSGDDnLN DsMSsFVmnd23pPl45mSuODTG+kZ75Q2B7O/Lo9E7PimCjHmWXlfdVxKw7chQlC8SJzeO FjBO5oUXUIzmv99BVr4rnJdpUhc/WiFjweTmXrwxHUdyZCPTmJIPEiMx7TfBwz4BE5H8 mvqAEGJLlFM4mm06CeYKJVuU2D77FOgoiNTfqKO6y3IOWXs6nS6W90qblFm9V7VWLdZy U9MQ== X-Gm-Message-State: APt69E0tIvST0RUW9BobV2BlFCpB29qnvXSjXyPHb/N1J5valPMipWH0 PfucZ819q8AAYShlSqrM3w5gxQ== X-Received: by 2002:a1c:e80f:: with SMTP id f15-v6mr1414018wmh.137.1528461551770; Fri, 08 Jun 2018 05:39:11 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id e63-v6sm2662423wma.46.2018.06.08.05.39.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 05:39:09 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 017DA3E0A51; Fri, 8 Jun 2018 13:33:09 +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, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Fri, 8 Jun 2018 13:32:41 +0100 Message-Id: <20180608123307.24773-24-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180608123307.24773-1-alex.bennee@linaro.org> References: <20180608123307.24773-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 v6 23/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+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