Message ID | 20230124180127.1881110-26-alex.bennee@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:b9de:b0:4b9:b062:db3b with SMTP id fj30csp342738pvb; Tue, 24 Jan 2023 10:10:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXuy0edir4Br5Ola0Kj+PR4Nrqx+lLvO6So2HRTnj6F1AKpyDqbqEQMs8BLCw/9rBBRS3Gya X-Received: by 2002:ac8:70d1:0:b0:3b6:3b60:e6 with SMTP id g17-20020ac870d1000000b003b63b6000e6mr43482744qtp.62.1674583839728; Tue, 24 Jan 2023 10:10:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674583839; cv=none; d=google.com; s=arc-20160816; b=jki7BRBUXK0whw0ifxg9MGuXCv/FVa6qHfZRTdkZycSs8VuTdM/K7ft2vUzwfeBOYs jFD5rvCRRJFfslQBkQP/FjmWaw/X0nqkXXQftjsiz4DabDeqljeccBBAPIlqyfxwWm4q dSaHfMvzsOwQJ1NtL3earc0Mr7+1R5dgAbwEAbPIUtKsjnB3TT+RY4Us5iuTQ7kcV47X YbFL4eRYst8aI+1KaOAGeTEESc8+f394p4Ykr5zD+nAylFxnhWpuwATvJ5O+GaRldzHJ bv6gDatjXyO8z9SAnZjEXe+AEGOyK/K6IdGmypY87RdU0hNt05l52NaDr0WD/nm02W82 nwqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=k+FrLym2gYoR5e6WGI0PlTaXexogReS4GR+wH8SNJig=; b=gGNxCuvw007jSOqpLEeA1rNzbivJguIuepa1tt6gpoI0LvUIpbj5ZPQ9Qd0FWsQILP zBa/6BaNMKMkIenZK0iym3MPH0kAWQ9e1cKGUXbm7mbttPMRHr37Aop2pqLIbUAQs6v4 13z7zoQ1LshKooPbooNCAKn1/apThISKNZc6JM6FYk4m6KAF6OCBD/2j6jyqLI1slPwu 2iOOcNBjcUeI9n9NTyEcQ7lI9cJGfulXGVFf9rqWYuDFG7O09gax1nENTah4b20MxAfd n3ZE4gInJArYmBWpVVl7qao4Q4Nu1QN31xvWyCXAPbbOnnlSqmQ6j0EIqdlPM3Sj8x9u bt0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mB4kPFks; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x22-20020ac86b56000000b003b635021489si1918366qts.66.2023.01.24.10.10.39 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jan 2023 10:10:39 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mB4kPFks; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1pKNi7-000671-Df; Tue, 24 Jan 2023 13:07:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1pKNhN-00058K-IU for qemu-devel@nongnu.org; Tue, 24 Jan 2023 13:07:12 -0500 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1pKNhH-00075N-KY for qemu-devel@nongnu.org; Tue, 24 Jan 2023 13:07:09 -0500 Received: by mail-wr1-x436.google.com with SMTP id h16so14703009wrz.12 for <qemu-devel@nongnu.org>; Tue, 24 Jan 2023 10:07:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k+FrLym2gYoR5e6WGI0PlTaXexogReS4GR+wH8SNJig=; b=mB4kPFksLoWlC26xJhrdbHo0FgqHs3d97kopnHgne+fbIXosBmIacwtjTbTpLEhrIf h4QRIEIGii+FH/AbTkL2MFR7r0DMSLpMvZvOTots4oEIa4bKYIFT6PKdk+VbFOvTQori G3fxpEGeT8UzgHOXcVai/s3IsIfWDM2FNCM7o1b5rrIBnU+ZnRGVdjhcn6BpFvSTWYmz J4B46Gg+TIDEgeLl7suZmdmOp7KNuLdxmxkMZPBmJxTen9Gn4/J8jOKZSrMe5pqcvbux 12lp3x5jfpT1tkevxHkV/LgCAmJhvgeOcYnCRF8Tg1RYA0iGoBedUvhXfWD4MjL0411Q HN4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k+FrLym2gYoR5e6WGI0PlTaXexogReS4GR+wH8SNJig=; b=g+lhcrxOACzfns7hOqXAPCVWdD7Tldkjyogv2lKfFvGNHBfb51boFhEWqylXIqiuGs Ie0lb96g7TVhEC7zujkhjperjooD4HeiRCGM7pkQjdDHsTUQBT1fgtGlJi/qGBlJGioC 5Ay/mfwE2SPFBhXARZLHTpDZX/NChXdMUFLs0yv2Nys5LNhpnSXpz5YiGctKe+ELOf0j mtLY3MsBFNoLQIa9UoPErJHFeDyIZSiIHlq5ZJWkx0P2eDxQBwepqaUlhbfMP2efwxbr v5zuWQtKatpZhtHO9kcMBSHwCLD9Zi0ak6Lj86n4EvcEe//TA763ybyPYkXUga87D8JG 7zWw== X-Gm-Message-State: AFqh2kr5MRUXUBMJcNny75zik6D6gixCV63qhMX6FF77SBUzNthLuV1D 8CHsJK3aPO4S0rhuyCLbyqs4Dg== X-Received: by 2002:a5d:6e82:0:b0:242:5563:c3b with SMTP id k2-20020a5d6e82000000b0024255630c3bmr26598627wrz.59.1674583621890; Tue, 24 Jan 2023 10:07:01 -0800 (PST) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id v1-20020a5d4b01000000b002be53aa2260sm2707513wrq.117.2023.01.24.10.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 10:06:59 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id AEFF01FFCD; Tue, 24 Jan 2023 18:01:30 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Cc: Richard Henderson <richard.henderson@linaro.org>, Ed Maste <emaste@freebsd.org>, Thomas Huth <thuth@redhat.com>, Alexandre Iooss <erdnaxe@crans.org>, Markus Armbruster <armbru@redhat.com>, Jagannathan Raman <jag.raman@oracle.com>, John G Johnson <john.g.johnson@oracle.com>, Mahmoud Mandour <ma.mandourr@gmail.com>, =?utf-8?q?Daniel_P=2E_Berrang?= =?utf-8?q?=C3=A9?= <berrange@redhat.com>, Bandan Das <bsd@redhat.com>, Elena Ufimtseva <elena.ufimtseva@oracle.com>, Michael Roth <michael.roth@amd.com>, Eduardo Habkost <eduardo@habkost.net>, Beraldo Leal <bleal@redhat.com>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, =?utf-8?q?Marc-Andr?= =?utf-8?q?=C3=A9_Lureau?= <marcandre.lureau@redhat.com>, Qiuhao Li <Qiuhao.Li@outlook.com>, Stefan Hajnoczi <stefanha@redhat.com>, Alexander Bulekov <alxndr@bu.edu>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, John Snow <jsnow@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Darren Kenny <darren.kenny@oracle.com>, qemu-arm@nongnu.org, Yanan Wang <wangyanan55@huawei.com>, Cleber Rosa <crosa@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Li-Wen Hsu <lwhsu@freebsd.org>, Peter Maydell <peter.maydell@linaro.org>, Robert Henry <robhenry@microsoft.com>, Aaron Lindsay <aaron@os.amperecomputing.com> Subject: [PATCH v2 25/35] tests/tcg: add memory-sve test for aarch64 Date: Tue, 24 Jan 2023 18:01:17 +0000 Message-Id: <20230124180127.1881110-26-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230124180127.1881110-1-alex.bennee@linaro.org> References: <20230124180127.1881110-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
maintainer tree pre-PR (testing/docs/semihosting/plugins)
|
expand
|
diff --git a/tests/tcg/aarch64/Makefile.softmmu-target b/tests/tcg/aarch64/Makefile.softmmu-target index a1368905f5..df9747bae8 100644 --- a/tests/tcg/aarch64/Makefile.softmmu-target +++ b/tests/tcg/aarch64/Makefile.softmmu-target @@ -36,6 +36,13 @@ config-cc.mak: Makefile memory: CFLAGS+=-DCHECK_UNALIGNED=1 +memory-sve: memory.c $(LINK_SCRIPT) $(CRT_OBJS) $(MINILIB_OBJS) + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) + +memory-sve: CFLAGS+=-DCHECK_UNALIGNED=1 -march=armv8.1-a+sve -O3 -fno-tree-loop-distribute-patterns + +TESTS+=memory-sve + # Running QEMU_BASE_MACHINE=-M virt -cpu max -display none QEMU_OPTS+=$(QEMU_BASE_MACHINE) -semihosting-config enable=on,target=native,chardev=output -kernel diff --git a/tests/tcg/aarch64/system/boot.S b/tests/tcg/aarch64/system/boot.S index e190b1efa6..f136363d2a 100644 --- a/tests/tcg/aarch64/system/boot.S +++ b/tests/tcg/aarch64/system/boot.S @@ -179,12 +179,13 @@ __start: isb /* - * Enable FP registers. The standard C pre-amble will be + * Enable FP/SVE registers. The standard C pre-amble will be * saving these and A-profile compilers will use AdvSIMD * registers unless we tell it not to. */ mrs x0, cpacr_el1 orr x0, x0, #(3 << 20) + orr x0, x0, #(3 << 16) msr cpacr_el1, x0 /* Setup some stack space and enter the test code.