From patchwork Thu Jun 21 06:25:33 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: 932594 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="GAW/pHJ/"; 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 41BCMy2hFfz9s2R for ; Thu, 21 Jun 2018 17:03:26 +1000 (AEST) Received: from localhost ([::1]:53446 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVtcq-0004n8-0t for incoming@patchwork.ozlabs.org; Thu, 21 Jun 2018 03:03:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVt8X-0005lh-En for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVt8V-0003sW-AX for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:05 -0400 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]:40837) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVt8V-0003rF-42 for qemu-devel@nongnu.org; Thu, 21 Jun 2018 02:32:03 -0400 Received: by mail-wr0-x241.google.com with SMTP id g18-v6so1831950wro.7 for ; Wed, 20 Jun 2018 23:32:02 -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=jThvnyKbXg8Sxr7Dwlhl2tjBRq2hds/cDpFooLFRFDs=; b=GAW/pHJ/8DIbd7COFba6g6AKk03MfIGtvdhnUcICLNNCu2iNKJ/41IJWfnP8oyKDwh /FE7brhwsvvTu1i4WdudwUbeDK+OmsS+p5H20AANe0iK2jsJ8VcSLYPYek9UmlBlTIZg H4knG/UqZKEtv9FBHquB9gJ+ajwl+plEc+914= 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=jThvnyKbXg8Sxr7Dwlhl2tjBRq2hds/cDpFooLFRFDs=; b=s8HdzM10EXo9Rra7EiKfY7AMB7HjFaUw7R9qC47F98RnI1WuKhiyBhkMwMZ+9DuwvM lMVJV838sX6gjUc9vfGQaDoc0YH692aebDt4gF9J7OJc/1NbDmZhDd4vFkkckzXf8AVU j1F8b91sSxpJH58yjZ6hpjjUZGQE2P5KlMBLCxG1rexpaKh8y/+ksQvKwnmimJUgAnsg qlFpWhaBE5HF9EH2Eb1b4CzqIuUSwCzIptoL+MxO0bdqxmMZJGtVwPmMVUVmsqW2FlYh 1H7nVG8DDsafzOj4wyleZ8n4m4Ti0VxKzqOH8qHIcZeg7F/VAvvcUCXjn0AxxamFOq8c liFg== X-Gm-Message-State: APt69E2mxRb9ngDpe/vBV0zkS/o2GYtbEP5lefivRS+kxeC+fo86aUYi HPRC/pTDysQfoQA5Hm6opTrt2w== X-Google-Smtp-Source: ADUXVKIanF4WUB3I/o0NL21tvS25mm+GSkN4ZYI7qL7wPwZcf+RpV+l2tzEUK4dLNSC7ff3MZNPSWQ== X-Received: by 2002:a5d:4d8d:: with SMTP id b13-v6mr1059247wru.80.1529562722014; Wed, 20 Jun 2018 23:32:02 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l142-v6sm7599278wmd.16.2018.06.20.23.31.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 23:31:56 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 58E783E0CA2; Thu, 21 Jun 2018 07:26:07 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 21 Jun 2018 07:25:33 +0100 Message-Id: <20180621062605.941-26-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180621062605.941-1-alex.bennee@linaro.org> References: <20180621062605.941-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::241 Subject: [Qemu-devel] [PULL v2 25/57] 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: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= , richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, "open list:ARM" , famz@redhat.com, aurelien@aurel32.net 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 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