From patchwork Wed Feb 28 19:31:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 130056 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp132601lja; Wed, 28 Feb 2018 11:37:27 -0800 (PST) X-Google-Smtp-Source: AG47ELtxxUyVPTo9LEnluvez9qioOSV1WJh6jfy9yppVhbWaNT/0zoZp+4MOxP7SCjbkYRJ8lzlK X-Received: by 10.129.107.196 with SMTP id g187mr12726979ywc.459.1519846647067; Wed, 28 Feb 2018 11:37:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519846647; cv=none; d=google.com; s=arc-20160816; b=Pl7UXPYmgv/7EQy3KOnz1V+CoSt18M3tJ/5/dMFSJvrQRQilx0Q9VcCzjFMl4yu0TU /kUtVC/OXbgqC1YSHmxmtCmFIA+i/tPlJbcICaxO6Wyt53UMuwHzngrEHN4spsgop26K JTQZsCYNSLCxLW8VhvjOP8SxIkwxKCfzefpbsXeATLckp2HBU6Wesh2s53FJ7rRqWT4Q fPr0Ce9OXVjvSXb3NuM6//845TYYQt9xPFynWEzWarAF6p7RJOTCk8OtnpDB+qvDnb6+ 5IreF7yuCyaI05H3vjViOPCG7S6R937el5jGjRXlMojhKkTfqmAZQ4To707OIztjqheo X4sw== 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:arc-authentication-results; bh=C+LBVsUbMAmUMQMRRDna4m9qepUMTuzHPuMIaSfKS6Q=; b=L5FZFaNsMrH0o/jCHYNGhHXn5uCLjaUDczBABU0cRQwFHjwmS0CeGzjiBXVHDGL9rA 301+b47rkup7FXZHj+8ccreWLLNRYP532wWwJO9sfTLRDOKTSRxaN9OVT86FZYkR/92O toB7BEIzzPANHy0fTAHcor+TNPbvPNPpPYybdZOTijW4/nQQLBr0l+KVD54BJGHcs+6v HY3VktksFfyDYbOKSiYpmduwdJW2/7CpaMeYWrapzIZOj7+cKdAjrCIM61IgKkIh4Cvc wFVNRgJSwQJk2KXHzzbRILiCF7AiX/FcHEkYvoVbChscXCD9kgqluTBbcL9l67EDmB3r xZqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kWbd+GJ9; 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 l206-v6si379184ybc.689.2018.02.28.11.37.26 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 28 Feb 2018 11:37:27 -0800 (PST) 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=kWbd+GJ9; 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]:46437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er7Xa-0007Ax-EA for patch@linaro.org; Wed, 28 Feb 2018 14:37:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er7Rs-0003FH-Nm for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er7Ro-0006Df-TH for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:32 -0500 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:43934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1er7Ro-0006D9-NC for qemu-devel@nongnu.org; Wed, 28 Feb 2018 14:31:28 -0500 Received: by mail-pf0-x244.google.com with SMTP id z14so1408308pfe.10 for ; Wed, 28 Feb 2018 11:31:28 -0800 (PST) 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=C+LBVsUbMAmUMQMRRDna4m9qepUMTuzHPuMIaSfKS6Q=; b=kWbd+GJ9qbhiPKU+X7KA85YM4axGkmE+CxENp7VmgEFCzkEn8A+f/Jv9B/XoD6+c5C 7iGowi+v1ysIWUgFTCdeWaaFzFMgTcyh3XOFRLt/UVLphfnUdhUyemi4CSQZs39xJ/h6 +NEGEPH9GfWNJDld1Z8mV3m42sm5HvyNwzENY= 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=C+LBVsUbMAmUMQMRRDna4m9qepUMTuzHPuMIaSfKS6Q=; b=g7EeM6Br2NyyJztFz4M+H2quFIMgraBLNqA+6BbmtNPWSuhZ9ZnWs8L6GSAFzfhdt7 N8/kDs3ErBiprRWDEMPaBU8kktyBV1ksJ+AhhwbZ7YqHf12co2M1Ez1/g8reM1NpeTVE KrG5WlJ26YGufbZk7cII9GAv2GZCymWU2uPnnvv4sP0d2iWPYtxJFZHupZ8O3izZtuad 9fTq2hCMVDmGGe07lLx4EuSo8qCa2Gbs96iuGisYcx3AogXKkJL2U5n8smTNx31xdUnI Y+d9NuBSSMuarYo/41PcbgPnoxkx0V5RWvytFHNkeaQHwq3rh/uR5Jl1dK634PzNtBq+ dl3Q== X-Gm-Message-State: APf1xPDvVnloubjCq4fL9aEMGOTEQG7Q3xssn/f6FJfXhIM2AfGR2FpA kLfD70U4/7RI5hFmf1z7H4EJPybvbe4= X-Received: by 10.98.70.198 with SMTP id o67mr18611338pfi.173.1519846287315; Wed, 28 Feb 2018 11:31:27 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-169-147.tukw.qwest.net. [97.113.169.147]) by smtp.gmail.com with ESMTPSA id k185sm4200212pgk.94.2018.02.28.11.31.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 28 Feb 2018 11:31:26 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 28 Feb 2018 11:31:09 -0800 Message-Id: <20180228193125.20577-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::244 Subject: [Qemu-devel] [PATCH v3 00/16] ARM v8.1 simd + v8.3 complex insns 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: qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" I believe I've incorporated all of Peter's feedback from v2. This is based on target-arm.next, which now contains Alex's fp16 work. Re-tested our standard aarch64 risu tests with -cpu cortex-a57, and against the new risu tests I posted this morning for aa64 and aa32. r~ Richard Henderson (16): target/arm: Add ARM_FEATURE_V8_RDM target/arm: Refactor disas_simd_indexed decode target/arm: Refactor disas_simd_indexed size checks target/arm: Decode aa64 armv8.1 scalar three same extra target/arm: Decode aa64 armv8.1 three same extra target/arm: Decode aa64 armv8.1 scalar/vector x indexed element target/arm: Decode aa32 armv8.1 three same target/arm: Decode aa32 armv8.1 two reg and a scalar target/arm: Enable ARM_FEATURE_V8_RDM target/arm: Add ARM_FEATURE_V8_FCMA target/arm: Decode aa64 armv8.3 fcadd target/arm: Decode aa64 armv8.3 fcmla target/arm: Decode aa32 armv8.3 3-same target/arm: Decode aa32 armv8.3 2-reg-index target/arm: Decode t32 simd 3reg and 2reg_scalar extension target/arm: Enable ARM_FEATURE_V8_FCMA target/arm/cpu.h | 2 + target/arm/helper.h | 31 +++ linux-user/elfload.c | 2 + target/arm/cpu.c | 2 + target/arm/cpu64.c | 2 + target/arm/translate-a64.c | 514 ++++++++++++++++++++++++++++++++++++--------- target/arm/translate.c | 275 +++++++++++++++++++++--- target/arm/vec_helper.c | 429 +++++++++++++++++++++++++++++++++++++ target/arm/Makefile.objs | 2 +- 9 files changed, 1133 insertions(+), 126 deletions(-) create mode 100644 target/arm/vec_helper.c -- 2.14.3