From patchwork Fri May 4 05:40:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 134926 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp421895lji; Thu, 3 May 2018 22:41:06 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqcI45SRENMiHhK8kkSseBZcpjNsTqZmWtB69Ts7vvtJMl1ZWHBpa3Awc7Kl8LW0O/rsj2e X-Received: by 2002:ac8:19d3:: with SMTP id s19-v6mr23646604qtk.414.1525412466704; Thu, 03 May 2018 22:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525412466; cv=none; d=google.com; s=arc-20160816; b=lnl/RJMGO3x6bwUdU95mmnL3ct4EpqZRMe/A/fhPq866v/QLl1JUZBLMCcBA9a5qyQ 5RjMPH1zlMDUvzc8+V1ZWcUVutle/gBu1EDkXJoywE5dTpMdMm13Se5Uiy02Xcxs17gz VLQmF37XySK7AhW80gYqQPD99guRF76u9pXyiRVdUj09qyIpWpGEpVIpouG2dokIpxX5 01LExgG6tf8bo72bdpg/6F2fxsNKZ0Uveq1Vv2muBqyiuCfi+3hzSkJWl6BQP0ftmYM0 ++dmxZwa2EQP/6gP8zqWMhMu069+UVflOpAxfyqEXvK1v+zVIkzr35jpon5u0y2wNOE9 5/JQ== 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=ncwhNrhnGfdkmQxOpRGyZrGavnICeXWkM1frSNjeckI=; b=Z8/CRsd3qSN0SVTKky7o++RlwQDALX/2s+Vp9ZUAH7EwS9BalAFcnKMOo7lXcS04n1 HgX1wqSJHreqYi0/J9/XCOMhTyeJUmrccRjc/T0KrXX7wSMqJ7Iz5N0SxzGKlruws3NS Vs0mdrxX698zll+SHQBjFFo7TxgGsqeHHCOQKiO1adTOesnSO/JTj5giUKdyq45y1y00 Q9ryXV7YEwr6h7D59WfcYO3SUfj5ZMPtmdiY+ovDkXxmWQc4zuFpj5x7bFCrm/aH/wZg n+KtDUe7ISkxgOEUCI026wAzzRDbhQY4bitNTgFw4cuB/nIyNl9UQy8Q5RE7JIKVeVlh gosw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=D8zSPnYX; 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 f12-v6si5249885qtk.50.2018.05.03.22.41.06 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 03 May 2018 22:41:06 -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=D8zSPnYX; 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]:60543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fETSs-0008QN-55 for patch@linaro.org; Fri, 04 May 2018 01:41:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fETSP-0008OY-TP for qemu-devel@nongnu.org; Fri, 04 May 2018 01:40:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fETSM-0004c3-Qs for qemu-devel@nongnu.org; Fri, 04 May 2018 01:40:37 -0400 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:34865) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fETSM-0004aT-Cq for qemu-devel@nongnu.org; Fri, 04 May 2018 01:40:34 -0400 Received: by mail-pf0-x229.google.com with SMTP id j5so16586127pfh.2 for ; Thu, 03 May 2018 22:40:34 -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=ncwhNrhnGfdkmQxOpRGyZrGavnICeXWkM1frSNjeckI=; b=D8zSPnYXIhbjDtenqlQwtRD/hlFlQlIujIn0+bJs/pd7Mqd25Z6I3FZA0XacZXaqEE Sob9tZGPNIYU+I+PyH4eyVwlL6xn2f5/ckgXEYWLRCg54yWZxQlJNrR/q4wZB2tHg7IP GE65kUNrzlUN2Mb+wyyVHTsn5y9tZ9ICFTyDU= 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=ncwhNrhnGfdkmQxOpRGyZrGavnICeXWkM1frSNjeckI=; b=UcqBk8NzgBMhj3MxNeRwaYivsk7ACi3cWZiL5vmYiBXCibzV8jmU8aRZb1lJ+Qfh7q cRORDzTz//wseyMeQ0HODiBgG7YXr8YNhuKWtNVmJg/+2627FNRzVkhEQK8CBbxZ00wS azAOLfx2FOicZI89s0e9BL989b9HoR3MF3zQd1ji5PiAGQiEMiJMjKo1zS6zs37HsZJ7 uYxKpXOLKRWYmi0hCEdhylGmBuYYQv42QK5ADQR3dO5AhxAZGI3kyh5RvfLVr5sJynKJ i54WVfph32BOG8Tza0RjQhPuUgPHTeas5kFpq/opspe+SAk47rrsK8dnRAtef6CJkY6q B7UA== X-Gm-Message-State: ALQs6tBakuKYVEevlIdH04sAw7NYVr+TgwzGbulNSDFCpOtomUpS410X Nxg1MHJqsC6HS+L6g2Q6z2ibUZiH3HM= X-Received: by 10.98.35.11 with SMTP id j11mr25506698pfj.177.1525412432630; Thu, 03 May 2018 22:40:32 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-2-170.tukw.qwest.net. [97.113.2.170]) by smtp.gmail.com with ESMTPSA id t23-v6sm26550809pgu.41.2018.05.03.22.40.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 May 2018 22:40:31 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 3 May 2018 22:40:17 -0700 Message-Id: <20180504054030.24527-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:c00::229 Subject: [Qemu-devel] [PATCH 00/13] target/openrisc: 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: , Cc: Stafford Horne Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" While the openrisc decode isn't particularly complicated, the result, I think, is still cleaner. r~ Richard Henderson (13): target-openrisc: Write back result before FPE exception target/openrisc: Start conversion to decodetree.py target/openrisc: Convert branch insns target/openrisc: Convert memory insns target/openrisc: Convert remainder of dec_misc insns target/openrisc: Convert dec_calc target/openrisc: Convert dec_mac target/openrisc: Convert dec_logic target/openrisc: Convert dec_M target/openrisc: Convert dec_comp target/openrisc: Convert dec_compi target/openrisc: Convert dec_float target/openrisc: Merge disas_openrisc_insn target/openrisc/helper.h | 25 +- target/openrisc/fpu_helper.c | 250 ++---- target/openrisc/translate.c | 1847 +++++++++++++++++++---------------------- target/openrisc/Makefile.objs | 9 + target/openrisc/insns.decode | 189 +++++ 5 files changed, 1110 insertions(+), 1210 deletions(-) create mode 100644 target/openrisc/insns.decode -- 2.14.3