From patchwork Sat Feb 17 20:31:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 128740 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1897705ljc; Sat, 17 Feb 2018 12:32:09 -0800 (PST) X-Google-Smtp-Source: AH8x224k7UsAiSwJd6F6r+ZDCU1Lt5j7pwa/SABPyI6uU6AnS3ozZFolKI6Q9+zCOi9C18bz2I6x X-Received: by 10.129.86.139 with SMTP id k133mr7362157ywb.253.1518899529645; Sat, 17 Feb 2018 12:32:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518899529; cv=none; d=google.com; s=arc-20160816; b=nFCSlgpc3rStOgOtkKoNYNQcRZUx/ZGMWCghq14PpxN1/XxfalucCRcoYbNIdRbg5I F/J1dRLLz7NihXM/UYlCuYnY0VSpsQCSwwWdZiDCa/YNkt/SH9AHFfXXkpLISdhr4za8 qBfkUGbs6/ok9L+l38LcBXuAAn9uYDaR7UWocy5SQuk1cF1GxyW6lv/Prddm1a1cjmOq dW9tttmveUMBkBkgieK6sQ27uwO55ZJoqyDzPMP1id/LMKyKieGBz/WaX2Tue3spq85G SqBluVjD+GkWEwWWFnKrluMRYL+8ylgTvjKTmko5TvFeGcKVRIab4MjV1N0VrkKmIm7n I9Vw== 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:subject:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=b4IYeKTgKEvsTv5PzSOBqkMR61ik/zW2Ph0XcJTzey8=; b=zmMbkDysm2NsxiMThgGF0pXCUZ31wJFZOsHogGd3vL7LBEtUYEVIUD6cL5pmZuHHBb cKGcAQ5WW4Fn6OXaK5TZFQh3c1Or2CETnpc9cRSIUWUMNzzq9OD6FBCondkSUIWfd8vD 62uv1kFOaBBq2Jptbcoc9Z1opcQpKZQDzAzkH5ckJ0jN3LVEnj8xRS1UXT0IzNZfvGkM I8eGRalC8sjut0CiMLoNqoBbnV+S3DXUY1dlcXTPPQ/juoN8XFhptQ1CzikdNR4lViit kuaQHCsDOAEnNBlDpvGklmWikxBLg8hOt9jENDX/vVsNMO4vgiwlb1VdSGLqhDQeYmTB HpJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=PkC/ma5Q; 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 f62si735721ywf.575.2018.02.17.12.32.09 for (version=TLS1 cipher=AES128-SHA bits=128/128); Sat, 17 Feb 2018 12:32:09 -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=PkC/ma5Q; 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]:60358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en99U-0008Oz-VK for patch@linaro.org; Sat, 17 Feb 2018 15:32:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en993-0008OP-2C for qemu-devel@nongnu.org; Sat, 17 Feb 2018 15:31:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en98z-0000hU-Uh for qemu-devel@nongnu.org; Sat, 17 Feb 2018 15:31:41 -0500 Received: from mail-pl0-x236.google.com ([2607:f8b0:400e:c01::236]:45836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en98z-0000hF-O2 for qemu-devel@nongnu.org; Sat, 17 Feb 2018 15:31:37 -0500 Received: by mail-pl0-x236.google.com with SMTP id p5so3525748plo.12 for ; Sat, 17 Feb 2018 12:31:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=b4IYeKTgKEvsTv5PzSOBqkMR61ik/zW2Ph0XcJTzey8=; b=PkC/ma5QQZ3GXP8amS6r6wS2mabbDdiNWdC80FPuiomUxTjmoZfFNa0Lc4HWY9XsW6 bNJf+Z0ujBNzY1cd2a8ZE7R4GA5p1aAYVFuKgLGcD428eeTs25fyou2CZqQ+5t1LnQnQ XWK+nZZsq70oyXoEeLAtIb1WK0NDEtO0aiaMY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=b4IYeKTgKEvsTv5PzSOBqkMR61ik/zW2Ph0XcJTzey8=; b=BpLCjB50y2YqOMVXStyN8KGHg8tjOkqIU+8rumjClA/VneUx75rg6W+aMegPH8Bij3 9nh6DMU+n/OFM+Uv+RRKotwna/0pnI8VDqUm/pkU3Sg36082dR3NEad5KSmKMVWdfx72 eCrgVu7bV1ZiKdbKpzKp8FkdwMOCIyqIaMKna6YtpbHhQ3WySm7ERZKn3A92CBj7h1rh 3tUHD3CjmVvByyj20OBLJXLeDz7aKU+kc80tATmPQw8WWEH3XglmHfsw3DWJMXM3Fxm1 Od24LnKHHBz92B5XINS8K2bnOL6Ip0ONxqtuGCbbZZPxWe/2/beuyEXvEnG7pzwrMaIf BJ0w== X-Gm-Message-State: APf1xPC9SaYkCdlVUeTpXwRFTK8K7sshtzg+OQRXTRv3Term9SJTg1TR yybwklgcamZqcDWd6r3Y0A9rKFEWSR8= X-Received: by 2002:a17:902:fa2:: with SMTP id 31-v6mr9828338plz.346.1518899495892; Sat, 17 Feb 2018 12:31:35 -0800 (PST) Received: from cloudburst.twiddle.net ([50.0.192.64]) by smtp.gmail.com with ESMTPSA id y7sm48203797pfe.26.2018.02.17.12.31.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Feb 2018 12:31:34 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 17 Feb 2018 12:31:13 -0800 Message-Id: <20180217203132.31780-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::236 Subject: [Qemu-devel] [PATCH 00/19] target/hppa: Convert to decodetree.py 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The existing hppa backend uses a lot of mask/compare tables to do decoding beyond the major opcode. Converting the port to the autogenerator makes things lots easier to read. r~ Richard Henderson (19): target/hppa: Use DisasContextBase.is_jmp target/hppa: Begin using scripts/decodetree.py target/hppa: Convert move to/from system registers target/hppa: Convert remainder of system insns target/hppa: Unify specializations of OR target/hppa: Convert memory management insns target/hppa: Convert arithmetic/logical insns target/hppa: Convert indexed memory insns target/hppa: Convert fp multiply-add target/hppa: Convert conditional branches target/hppa: Convert shift, extract, deposit insns target/hppa: Convert direct and indirect branches target/hppa: Convert arithmetic immediate insns target/hppa: Convert offset memory insns target/hppa: Convert fp indexed memory insns target/hppa: Convert halt/reset insns target/hppa: Convert fp fused multiply-add insns target/hppa: Convert fp operate insns target/hppa: Merge translate_one into hppa_tr_translate_insn target/hppa/translate.c | 3186 ++++++++++++++++++--------------------------- target/hppa/Makefile.objs | 8 + target/hppa/insns.decode | 525 ++++++++ 3 files changed, 1781 insertions(+), 1938 deletions(-) create mode 100644 target/hppa/insns.decode -- 2.14.3