From patchwork Fri May 25 14:19:01 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: 136908 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp3657607lji; Fri, 25 May 2018 07:22:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIt2A7TMk4nfAvICMtRl7sjnTdQNQ5mmD17E/cQb8BnX86DJJ2Rn9j45sAOLb0y81gQuLUX X-Received: by 2002:ac8:1c4b:: with SMTP id j11-v6mr2390836qtk.188.1527258179535; Fri, 25 May 2018 07:22:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527258179; cv=none; d=google.com; s=arc-20160816; b=LUfd4Oms1U4gih7Jjd3eKUph8sUBL4AitX0WffnxYF8XWgDLn1B2CN2I1gu6M3jFpc rmewpUK5HTwnvITbIw+hnFSTDsPIchdzzLGg2zkscJDk85Mj8nnw8MrWEkPcFEbQBXg7 SzWY9PWXquAl3K/fJPPv/2x9iZnz3BwIyyWmMFEHiPJfBS61m3DfYuhzMTESNNHH0Y5H ZS9bkBXinoOvyBG1CQxgxVIm6IHTJHUWPz2ZKbY/c7Aw4KpjSZRoae4NW5gtq/dMk/Nr y4EJ7yDtJToKGs55jSyQ3f6KckEe4b7Hwxh99G4+PJjtOFIdyO1LNxg41MrKqf6PHbNP DOEw== 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=pbJ5fJqxLMI9UvovF7KyOyeZsAxQQWjlNKiirTc9+64=; b=dGl9lwJSN24e1FngolnK5Y4SueylMh0V/YHxahOYwx7eBWepCiZ8dts3rsAlV4Ga0e ihFtinQqgcU85ueX/PXFJBm9u5SkimYBfUE7oWdWh+vWtroXG20C1P/0MAGMx/LWer9Q JDaA3NqqtVGpVa/9zFqeu6ChpPBuJ+Pme5ReuluiiLJcOurDlkAjIUsW1C9emAozBYPD FSWfT6ikOer+2hnLw4nvpsDBakddqRRmPxNTAHDVQLcuRM4UzCI4OM3YBb4uid1gq8j0 kpoz4txB7amP15jXHdF+YUBuwsqdyp7JO3qdgGPzV7bokTr1aVDZFka6e2W3KsNCFUzQ /olA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VYjjK/8h; 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 k2-v6si2879346qkc.31.2018.05.25.07.22.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 25 May 2018 07:22:59 -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=VYjjK/8h; 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]:44311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDcQ-0003oo-VM for patch@linaro.org; Fri, 25 May 2018 10:22:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMDYn-0000pO-EI for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMDYm-0000KS-G7 for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:13 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:38782) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMDYm-0000Jm-9Y for qemu-devel@nongnu.org; Fri, 25 May 2018 10:19:12 -0400 Received: by mail-wr0-x243.google.com with SMTP id 94-v6so9544338wrf.5 for ; Fri, 25 May 2018 07:19: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=pbJ5fJqxLMI9UvovF7KyOyeZsAxQQWjlNKiirTc9+64=; b=VYjjK/8hYk7wBu5zH4/X5tPUDm/xx4pB3TQ0QH0Md6NvAR31yap9/Vq2Qg/1FJQWyE 6tBSm08tMH8r1qI9ajv5FbLYsZTkVFP/SjPJ8lekTYqz710xJ0T5bg4/o+9AHPeGSyd7 RhWcZjPOjjI3xqKIU0OulcbdKrVcRtJuXBXHs= 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=pbJ5fJqxLMI9UvovF7KyOyeZsAxQQWjlNKiirTc9+64=; b=XrdalFfN+9JS4xfsjBNwFj/6B7KPyNE0w3/KDoWcHd2iAIaI9aDn186MC1qex+rJa+ 1UokPaP7XyhS8pckr9uOVcest8ByhWvSGrJtuOAZV7T6r6IzigVww8BZUTfovIiJ0JDd GiXNMC8KPuBn9BAIS/Ldrl30Wl97l7I6cCYQM0Ct/pvXpMTw6vdzgFdSjNPNtEbkY6Kb 7EZOfoZmHX8EI0/dmrFppkaCrwnFJWZYpiYU6D4j5RsSU8yTKAc2M6HQAq8U+TrnRCtp 6JmU7o+4M7yBiH/PMbD2aYIA1NO/zj0xay5JCEWpD5VCIsytJ+IV6C7lz8toA07RVimv 5jmQ== X-Gm-Message-State: ALKqPwfEv03erT7jxQpTofU7TBmSxumPmj1oyaGp8eiHvLcI3Q4iCAud y3H94BiFtxJd/s4aiCO0Zk9x1g== X-Received: by 2002:adf:e4cd:: with SMTP id v13-v6mr2317050wrm.238.1527257951285; Fri, 25 May 2018 07:19:11 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id u35-v6sm36201241wrc.29.2018.05.25.07.19.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 May 2018 07:19:09 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 3ECE53E069A; Fri, 25 May 2018 15:19:04 +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: Fri, 25 May 2018 15:19:01 +0100 Message-Id: <20180525141903.6257-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525141903.6257-1-alex.bennee@linaro.org> References: <20180525133851.27161-1-alex.bennee@linaro.org> <20180525141903.6257-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 v5 27/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.0 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