From patchwork Thu Feb 7 11:53:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 157710 Delivered-To: patch@linaro.org Received: by 2002:ac9:7558:0:0:0:0:0 with SMTP id r24csp534721oct; Thu, 7 Feb 2019 03:54:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IbWOD4agwbiU27rKyYV3gu9UT8RNXYQ5sfk/oGNekxXqQtagHILqkwdVQF575Z7Uvu7ojcY X-Received: by 2002:a05:6000:f:: with SMTP id h15mr11511534wrx.248.1549540473610; Thu, 07 Feb 2019 03:54:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549540473; cv=none; d=google.com; s=arc-20160816; b=bkWE72ZT6GCyW3eHZTdoHDl3kDh1uFteZgm2XYEyGtciOQwWZS+aTo/810v9mFpaRl /Nnj4JWAsS1I0JiNhO9FbhzMQdAPF2l1oGQPakcEpa94GXf1cpUFsnv9msGFcIGqFJ5V hpYEO8IYverq2FmWuIKhNtggdXmww44qVGHAfBhBZ/ZJb3wu37hx2LKFfBT/eCZQxCLZ 1JYlyrn17FlXlLx5AQy5GTuniNtvod2f58EF7QAp1AOUskl2EvLRP9uH5Rm8/C75CUij 22kDJRShjzOAPe+fQFqZXA4w1I+WsDmBOcWIcWk82WXvrpwryFdIjXKXPBBrdEQmqxAy VPiA== 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; bh=5DKgLwArRJ2QCYtXrbUfTljxTxCAkAG0UNKEs+oN/kY=; b=gbZpMqfXBZ9EmD79VVQwi242rX7T+Fi9agwDdeyDJHglcBKhiLaqhS+qDpdWhGu+WR 2BfpVEpMts/hoxzMshMT//qieCpwPdqrsgloTy19Rk3ZH/yG/FU5SHJhBJXJ7y1LpDq5 sYv25HPB9UVtGXf7dBC5akcAG7G0/kmWgzPeGS+XtGQV1fLWTlfXAqFDiR4475/Mq52c XiXwTOtHYV5q/satxhjjm0Jo1tcVRpwOWF0nCwY7ZoAFkSS5sORg+R5JBBxtHXD90WMj svqN8Aq2AQXGtyc+5o5tKLNZQ9uxuAVvRIoPMtuVpNjQ+VwIEJJiMOpnxI/Oudhai6SH O76Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kiq1iaol; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l185si13769492wml.21.2019.02.07.03.54.33 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 07 Feb 2019 03:54:33 -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=fail header.i=@linaro.org header.s=google header.b=kiq1iaol; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1]:38395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1griGG-0007Bb-HE for patch@linaro.org; Thu, 07 Feb 2019 06:54:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1griFt-0007A1-0J for qemu-devel@nongnu.org; Thu, 07 Feb 2019 06:54:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1griFs-0001Nf-65 for qemu-devel@nongnu.org; Thu, 07 Feb 2019 06:54:08 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:38680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1griFr-0001Lk-Tj for qemu-devel@nongnu.org; Thu, 07 Feb 2019 06:54:08 -0500 Received: by mail-wr1-x442.google.com with SMTP id v13so11218777wrw.5 for ; Thu, 07 Feb 2019 03:54:04 -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; bh=5DKgLwArRJ2QCYtXrbUfTljxTxCAkAG0UNKEs+oN/kY=; b=kiq1iaol/yp6/KADHp++KTUDxD5Q40hnEYDP3SY4hFFOLGVvBJLeDKm3nn1nJWlSpC ITJLKr6WwWggF2HCRGRgq7rNZ/SP7Dz7u8r6R09AXPMKil+POAMo2ZY/QL4fHvtd8vY1 zgYJMv73QkH3fhf54GnnpXq9hpRbsJhXaWDKRcyD+vSLNj1uGSwm5Gj3j09sAWCmijPE qhiD2tw4bXOM81CvYgwC2Cm4aM7E9SyfhthcuFoBQo7e63+sm6lMEMZ8Lj0iqP954HMI vBE3kZ9WXMJ4ES2b53ioXn8wPrDXAIgRBiIr2yT9l9TlKm+HVuTkHbFm0uaWM1/DM6x/ KKmw== 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=5DKgLwArRJ2QCYtXrbUfTljxTxCAkAG0UNKEs+oN/kY=; b=sg/IHkfi3Uxtyt/eGSStWHixGzd+LY3erQGivCEaVpaif1w67stF2Ex/WZ8EWoqtey 08fepFSEOFLB4Kcu1XPJkwO0LgcCvQxnBaqn8Duhp7AT3gIZpFOBQi9tY2wCDo45gXBK FC5vcypqWUL/Bgj686czwwXRGPo6ELs5Dpcn8g13mzHGxLYohPI2lnCFlphKei1StHax DtWLQPPRcdoxQ6OAsrhfyjH0irdGBSz8PeIsfmZtMqkwA9xKpqNa+AFmdInAYBK7YEAF IJOpRgujpOfXfi+1eeFUc/rTqmrcaB7fdS+4Z5nFepgCxRsx1UHpQuMRKvFSA6SzmUQj mbDg== X-Gm-Message-State: AHQUAuYzGnjX0B1UkvXdhK6+Xx1puBMGwI7Bdr+//6snAotVl1bOKpGy Amxbh20hYxOUVI1vnLA7q8ObGqBU1pUuPQ== X-Received: by 2002:adf:ee46:: with SMTP id w6mr12312481wro.261.1549540442717; Thu, 07 Feb 2019 03:54:02 -0800 (PST) Received: from cloudburst.twiddle.net ([37.205.61.206]) by smtp.gmail.com with ESMTPSA id w16sm34030016wrp.1.2019.02.07.03.54.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Feb 2019 03:54:02 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 7 Feb 2019 11:53:41 +0000 Message-Id: <20190207115400.647-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 Subject: [Qemu-devel] [PATCH 00/19] target/hppa: Convert to decodetree 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: deller@gmx.de, svens@stackframe.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" I started this last year, but only recently have found the time to ferret out the bugs. I've tested this vs the gcc execute.exp testsuite, against which there are no regressions. It also continues to boot my old debian sid installation. I had not previously been aware, but I now know this fixes a bug with respect to the purge data cache (PDC) instruction. Helge or Sven, if you have a chance to do a bit more testing in the next week, I would appreciate it. Otherwise we can fix any other minor problems on mainline. This is based on the target/hppa pull request from this week; the whole tree can be found at https://github.com/rth7680/qemu.git tgt-hppa 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 | 3218 +++++++++++++++---------------------- target/hppa/Makefile.objs | 8 + target/hppa/insns.decode | 527 ++++++ 3 files changed, 1802 insertions(+), 1951 deletions(-) create mode 100644 target/hppa/insns.decode -- 2.17.2 Tested-by: Sven Schnelle Tested-by: Helge Deller