From patchwork Wed Sep 26 19:23:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 147648 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1111732lji; Wed, 26 Sep 2018 12:26:59 -0700 (PDT) X-Google-Smtp-Source: ACcGV63B56jURK3Koud8ImwXzVyUFZtd+QVqGlUuQgfpMa3tq5FnCTYmI/wxUcogVc262+VQO1Ic X-Received: by 2002:a0c:d647:: with SMTP id e7-v6mr5295069qvj.238.1537990019504; Wed, 26 Sep 2018 12:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537990019; cv=none; d=google.com; s=arc-20160816; b=SrKUev+5fbHxKB2CZFWE5IDj3TIZGOVbDh0A9+765QFeaKr1Iqu0qLyt/lPobaGmtZ CzX9rX2RLAxnBuT2HkY1zV4RkoS0d6zBs8mu1WxJcOD91JkAQL7nkdFFXwlCW16ogn0K 2TbOp5Fc/IBSw3hqQobfNcZozUY4intFRGjnjzsAVd7mi8euu0JSNCHl6WXgjnG42c8G wTax8CndaAz3FqbMSNZJmO5S97Yorci1az/ztK7iKmjo57kuxdpjgt5I2T9FIpuFLHZs mV90Hz/f0GVPk3gSSl9OSAnf263exfavIXMuoHYmZRUT5XFyIg3p56GIr5oHK0es8Kif +1nQ== 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:message-id:date:to:from :dkim-signature; bh=UUcnfSqCX3nN+UNET7R4QuuNMI59CfNyIxcNtgEF510=; b=DyCzMd4uuip0WIv+mA2VUngFh5rqd5p/o8YY/xKItf4zw0ieuG9O+Q4+jYgqvKXNoy eM7zftqZ7OcrbevbYsLALBI4ouHZskc6ntKsMvJYyAVH3fVwbEDbnooMngUVV6+ZVhBI K4CMMvD6xcoNJUSJ4vqy8TDBN9JUI243taIfXX+K7lCucujAy45p6p9n+CvK9G5DcLW7 iYNqvY/GPPbCBYvKw2ukMTIepVIHG4WaYs02LkJLEGymVQvXt+EsVnw1n8Ot7RniBA7Z M/OT7VzMD9B4WS80D7MfzC6KPs+mRjV8l5Dc9r9PAF4uljKTE1a+UCIE+W7x/UBJcl7R mspw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=gAOUYV6W; 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 g35-v6si3524571qtd.208.2018.09.26.12.26.59 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 26 Sep 2018 12:26: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=gAOUYV6W; 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]:60372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5FSc-00048S-Ta for patch@linaro.org; Wed, 26 Sep 2018 15:26:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5FPJ-0001hX-0n for qemu-devel@nongnu.org; Wed, 26 Sep 2018 15:23:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5FPD-0006kA-9c for qemu-devel@nongnu.org; Wed, 26 Sep 2018 15:23:31 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:40177) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5FPC-0006jb-Ma for qemu-devel@nongnu.org; Wed, 26 Sep 2018 15:23:27 -0400 Received: by mail-pg1-x52b.google.com with SMTP id n31-v6so60620pgm.7 for ; Wed, 26 Sep 2018 12:23:26 -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:mime-version :content-transfer-encoding; bh=UUcnfSqCX3nN+UNET7R4QuuNMI59CfNyIxcNtgEF510=; b=gAOUYV6W+ZwGJ/IrIvY/zbAl1HjEnGawaAo28KJ8MYI28w5xLA033P9BRNGIzpXcpg SGIKwfrEsc83f6efwMJKxdsivdcpP7/8AM5LokFExptskfvAoWxIgiquq1uWjKs2quDO bVV14ylGw0uqPtWDTUBlI9mh6wqNDDiYsO4bU= 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:mime-version :content-transfer-encoding; bh=UUcnfSqCX3nN+UNET7R4QuuNMI59CfNyIxcNtgEF510=; b=IFZ8uYowk7iLiFVQ+8mySDCkZpkqd5oeeQLWrB45javHXpVvB2qX4o+LnWQBRgGPKa Q92lizc/BalNDZHnr3X9AwUs5WdqZLiFESgPuhNU1YOiQqKFO69icVOcTta0wKLQMFNg uax0293p5PImmHofGwPMuLeHsyUIeyjsdaKwih3zQdbbxQWzxoOjwMIKSb2YlhyYIbj/ Cg//LnyuViXR3EqF8iOTRxoyv4T9eoQJxa8aFm5tDwNeFBXqsvck54O27cI/SoFR/ltT eeSO5GahHPRyxSNxEv8l55pvQVefsiGM7xjk0rREs21msON3XuQjfshnDY+yejUkD6cb CY0g== X-Gm-Message-State: ABuFfog2ru35LDv4XORwl8OZ5gM2J8m3GFBfQULGmUu0N+XJYXQZvqII em+mEs45Iaud0SfA3BRxKftcYIFrkRI= X-Received: by 2002:a62:9894:: with SMTP id d20-v6mr7720836pfk.186.1537989805069; Wed, 26 Sep 2018 12:23:25 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-8-179.tukw.qwest.net. [97.113.8.179]) by smtp.gmail.com with ESMTPSA id c2-v6sm8493486pfo.107.2018.09.26.12.23.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 12:23:23 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 26 Sep 2018 12:23:08 -0700 Message-Id: <20180926192323.12659-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52b Subject: [Qemu-devel] [PATCH v2 00/15] target/arm: sve system mode patches 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@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" For v2, I've dropped a few patches and adjusted for some review on v1. In particular, the patches that adjust the ID system registers are dropped, so there's not actually a way to run any SVE code in system mode with just this. But there's no point keeping these out of tree while work continues on the system register issue. Patches without review: 3, 4, 5, 6, 7. r~ Richard Henderson (15): target/arm: Define ID_AA64ZFR0_EL1 target/arm: Adjust sve_exception_el target/arm: Pass in current_el to fp and sve_exception_el target/arm: Handle SVE vector length changes in system mode target/arm: Adjust aarch64_cpu_dump_state for system mode SVE target/arm: Clear unused predicate bits for LD1RQ target/arm: Rewrite helper_sve_ld1*_r using pages target/arm: Rewrite helper_sve_ld[234]*_r target/arm: Rewrite helper_sve_st[1234]*_r target/arm: Split contiguous loads for endianness target/arm: Split contiguous stores for endianness target/arm: Rewrite vector gather loads target/arm: Rewrite vector gather stores target/arm: Rewrite vector gather first-fault loads target/arm: Pass TCGMemOpIdx to sve memory helpers target/arm/cpu.h | 8 + target/arm/helper-sve.h | 385 +++++-- target/arm/internals.h | 5 + target/arm/cpu64.c | 42 - target/arm/helper.c | 237 +++-- target/arm/op_helper.c | 1 + target/arm/sve_helper.c | 1961 ++++++++++++++++++++++++------------ target/arm/translate-a64.c | 8 +- target/arm/translate-sve.c | 670 ++++++++---- 9 files changed, 2267 insertions(+), 1050 deletions(-) -- 2.17.1