From patchwork Tue Jun 19 15:44:03 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: 139232 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5430924lji; Tue, 19 Jun 2018 09:43:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLM4Tz2MFpBtSBJ1hO25pxozDJKoavHbLY5TG71M3CT24kXGJH+nA3utkFwVJwDMmuI/SbN X-Received: by 2002:a0c:f24e:: with SMTP id z14-v6mr15025242qvl.208.1529426612805; Tue, 19 Jun 2018 09:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529426612; cv=none; d=google.com; s=arc-20160816; b=0k6UAnHZvgNK96sWWNvmkRF6JrdJwdo2y+5N2wgarStrSiXRQIhczjkMr9N//icWbs o1M+kWYusufj3uCXbH1Z5OxQgCEBxmneVq//cIMsCNPiTXeWpAl88IMRN4PdkYqYnPiQ peRlMj+W2pXsI0ebwF0WSWf2Q2qUsKrHbMAgPqToTvfJZ6z4RI9QXTGa/fHESBq8SPAj oIweFK3Xef7rbd8bcoeILFyFpXEdkvqd7TrSlhBSv4xxfqgc59K+E1QeVB4Ce1vFpNzu 0J3ru1+5ODlgHAe6nwM7VDszJNX0lQQUnB+uXAXjWQ4VUTcEOb56iSIOhbwiKx2XCAMZ aZ0A== 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=HwE7AVsWuSL68owxqUnMhTSpB9Pt8qThrjUwhEz0EcY=; b=JW7gs2pS2Fq3pS8Ct/dHM23zfhseqrAw6kGpUrbdH56ecBs0mpuUkZhJy96BgMA9UM fex4vKR4ST2AKmQLp4WEuaS36EfaqbvmHhXfk3XPkGN8xUug04Z3GF9B7JgSpwSzsCiK p76+VZ7r0ZiwrTZFp+fc1DlCiwgzd6aR7D24jKiO0JusK/+nxeLmbXO/1Cr6xIn7QCVa h/6zKDdBF7KFwr1yykJ4CRgUmpxm7FPLWNGTkArFF9O3JtnOo8SqS7c/2Vg03iG+SA3C avweb/sUJ2WqGbKVTrcQcWDdr0E+l632lCfNK2mltZP7l5O19dF2HP6UcIpgwnkJfTgY S/wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FXGNX7zd; 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 p43-v6si10651qta.379.2018.06.19.09.43.32 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 19 Jun 2018 09:43:32 -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=FXGNX7zd; 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]:43766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJjA-0003oV-3p for patch@linaro.org; Tue, 19 Jun 2018 12:43:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVJ4w-0004bU-Ea for qemu-devel@nongnu.org; Tue, 19 Jun 2018 12:02:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVJ4q-0007bb-RW for qemu-devel@nongnu.org; Tue, 19 Jun 2018 12:01:58 -0400 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:35861) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVJ4q-0007aq-KF for qemu-devel@nongnu.org; Tue, 19 Jun 2018 12:01:52 -0400 Received: by mail-wr0-x242.google.com with SMTP id f16-v6so219732wrm.3 for ; Tue, 19 Jun 2018 09:01:52 -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=HwE7AVsWuSL68owxqUnMhTSpB9Pt8qThrjUwhEz0EcY=; b=FXGNX7zdiT2Q6tFG8d8KAep/KG6rIl8Pp4MWNsfKU5hC5sk8Gum5JKTKASgc67aGQ8 X0z2AWjzED6AHzsG4kTH2SNNvuU6lDNStJKBmwueDaFQSSj8vn4zkv6FubAd+SBtVOUx U5zdRJUlivL7pGn+eblJyeToxAjM8JcOwvtu4= 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=HwE7AVsWuSL68owxqUnMhTSpB9Pt8qThrjUwhEz0EcY=; b=Ev+qF6YWzSG3SXRKGYO3u1Eb5JHiiEso6sQ1Q9eIa7p7rQTdLn0aGub8ezybziTPYb 567VMqon9BKzJtR3e9gQ3NozWbAdbwYpJkGFgRQG2Eu3whhB6RaRmUsTLEy/4PshPp0s kfXtnC3mpA+UrD3h6iKvsfFYNtk1ix9k1f/Rwh9BYeBMWylEVdvWVsJ6KY6/29xP9WoZ F7mkoxzKCw9xmQMLUvJCr3pAnMzsTMtzbV/n7YRwLTyvBnx/XHMk0aySCWdE7YFH3gDG cNC3fcFFBiELVoqu60gDbZfVAV6kEUaLXhvC/FZZde+zU7moMH2v2RDnbWMKtS+4kXpV bzaQ== X-Gm-Message-State: APt69E3Gji4QrIZNslf2gkXTNtXoTt7es3zE7FK5bhKSm2C6aiqaSEAn Xs42kfQISCILIRbOCdOLT8wcZg== X-Received: by 2002:adf:b86b:: with SMTP id u40-v6mr14612024wrf.162.1529424111464; Tue, 19 Jun 2018 09:01:51 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 84-v6sm606727wme.16.2018.06.19.09.01.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 09:01:49 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 7F69A3E0C4D; Tue, 19 Jun 2018 16:44:37 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Tue, 19 Jun 2018 16:44:03 +0100 Message-Id: <20180619154435.18898-25-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619154435.18898-1-alex.bennee@linaro.org> References: <20180619154435.18898-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::242 Subject: [Qemu-devel] [PULL 24/56] 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+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 -- 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