From patchwork Wed Oct 4 18:43:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 114798 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3453962qgn; Wed, 4 Oct 2017 11:45:31 -0700 (PDT) X-Received: by 10.55.17.211 with SMTP id 80mr26156939qkr.270.1507142731720; Wed, 04 Oct 2017 11:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507142731; cv=none; d=google.com; s=arc-20160816; b=SJVGWsMTIz+QlWdyui3qXLDpT33lLXlTV2yWb5Ljt/DXnryWDs6hYHe010V+H+oiWB SSdVBfii7XyvTIgyhTlc3Fcw1NWap+SKgn3pUV+zei2lR0VVgR8k5alSwcH3XrRXycvI VASPXCrRuohpXUyicAYlqAvl2xW0VbmKmI16jMTX22x+3MBYe+XrGpmLyZw4ct1BjXhz rYUtFKOlkaaMFvAaWwoo6LzinCugF61iAPY+sA4YBJAno9+DZqv7mTLtAwadDJmXzDSi h29p0xfWVIhYqOeRmMvf6TqGtNu/SBVb+L6/3nzi33rVqe2W8PC7mQV5MuXMDQJOd7jb nqDA== 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:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=c2R6B4BEd9QaiI3v6MTsGG15RssMSUTB651TslaAgkQ=; b=Va3tC2+uF57E3K1ofiaLhw9drA3rTFKv+BYCBQoqDLyHvatW3k2ra1Otq5sN7Ht//T 0ZrSmjNpjnuPyXRp1kLBf139j5minJIjtcgA8ViU52xoCSLHeDTI/zWA7nPC0yjPS6WL CV+WhxO6Edk80hAT5sLAjNbgWli+nNw4BmSJHZUF3zy87ZGIEPdV6LIagNSG2ne7K+Bs U9Cai9Neht7wCmukGP9L4a3EB98TUmNqfAxkx34ClKlS4Hv4FX6OjjWIAfe7sfId2VBO kfvjOFw8CMFVHbfKjNne7zZ2ugQzjD+ZXSoxGyaZvPg5cGguhCPomYHWI7Fdeqrqz4pt BBFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Myj7Iooq; 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 b187si423879qka.316.2017.10.04.11.45.31 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 04 Oct 2017 11:45:31 -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=Myj7Iooq; 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]:36433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzofj-0000rG-99 for patch@linaro.org; Wed, 04 Oct 2017 14:45:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dzodo-00088k-Dy for qemu-devel@nongnu.org; Wed, 04 Oct 2017 14:43:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dzodn-0002Xq-HC for qemu-devel@nongnu.org; Wed, 04 Oct 2017 14:43:32 -0400 Received: from mail-qt0-x231.google.com ([2607:f8b0:400d:c0d::231]:48926) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dzodn-0002XV-AY for qemu-devel@nongnu.org; Wed, 04 Oct 2017 14:43:31 -0400 Received: by mail-qt0-x231.google.com with SMTP id d13so20371295qta.5 for ; Wed, 04 Oct 2017 11:43:30 -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; bh=c2R6B4BEd9QaiI3v6MTsGG15RssMSUTB651TslaAgkQ=; b=Myj7Iooq7bBUxBhHz/pNZ6XlGHHHsMBtABwRkdCO4jCQPb67OCsD5ebrGpTqXsgYx9 bl8UnghlXhnLcnHTLpQYFPlZKXjB83cCxK5uOp8oyFefpbc2eo0012zMF7oC+AGtZriO mTLOWeP3Bg1TB9/twKHyjn4q86buAZ9xBUTe4= 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; bh=c2R6B4BEd9QaiI3v6MTsGG15RssMSUTB651TslaAgkQ=; b=YLGQZMNPdQfakB2QQmO2aCe7SQ9t820GbCvjjAA/Jb1UJPUWQCItXUU9GHZZLIt2dT lixb0q5AtWbrkZyxCNjhndHhG9af4xybvHfRBWemRI1Rggh9gRYNPovTCN6UUO4XzXun cbu0syKdGDT9k07D7RXutr93VrQOAG3ltbY+bJPb++C3cqNStIchVdusEJeCm/pzZDbT nmnawv/Q0Qe2/lGkLTebr8+2RMtQ6U1paz7pNQaYgEYNOciQn2be/6EFKqqkQ+rCq0M2 7VoFX2OXJM5kPrgHJ0mN40jfehXmwLVPmo+RImcJovuetbPqtOWE448VZ7foTW76ekh7 3mcQ== X-Gm-Message-State: AMCzsaWrZMrCfaWXqupfdZ7wQrQRxHwfERdFfru2Ook9XBAT62jh1+lA S2C44ocxiIqUH8z/NR+E9zg0hkzMM2c= X-Google-Smtp-Source: AOwi7QB+7tzt0pZPMw1penUkL4874dwlOMhKjuPpXHrP7/bPJT0+R/tsoorN4rk2F78NX7oFfVk45w== X-Received: by 10.37.41.5 with SMTP id p5mr4682403ybp.442.1507142610069; Wed, 04 Oct 2017 11:43:30 -0700 (PDT) Received: from bigtime.twiddle.net.com ([2606:a000:7a4a:b100::1b]) by smtp.gmail.com with ESMTPSA id o64sm3020464ywe.12.2017.10.04.11.43.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 04 Oct 2017 11:43:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 4 Oct 2017 14:43:13 -0400 Message-Id: <20171004184325.24157-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::231 Subject: [Qemu-devel] [PATCH v1 00/12] 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" This patch set depends on v3 of native-vector-registers; for ease of review the whole tree is at git://github.com/rth7680/qemu.git tgt-arm-cplx I have successfully tested all insns for AArch64 via RISU. I have successfully tested everything but VCMLA for AArch32. The insn that doesn't match up is fef3c848 vcmla.f32 q14, , d8[0], #270 for which FoundationModel is *not* signalling illegal insn. I'm not really sure what it is doing -- perhaps treating the insn as a coprocessor 8 nop? I'll have to investigate further. In the meantime, it's surely time for a round 1 review. r~ Richard Henderson (12): HACK: use objdump disas target/arm: Add ARM_FEATURE_V8_1_SIMD 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: 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/cpu.h | 2 + target/arm/helper.h | 26 ++++ disas.c | 2 +- linux-user/elfload.c | 10 ++ target/arm/advsimd_helper.c | 331 +++++++++++++++++++++++++++++++++++++++++ target/arm/cpu.c | 2 + target/arm/cpu64.c | 2 + target/arm/translate-a64.c | 350 +++++++++++++++++++++++++++++++++++++++----- target/arm/translate.c | 241 +++++++++++++++++++++++++++--- target/arm/Makefile.objs | 2 +- 10 files changed, 912 insertions(+), 56 deletions(-) create mode 100644 target/arm/advsimd_helper.c -- 2.13.6