From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FF75C432C0 for ; Fri, 22 Nov 2019 07:47:45 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 692E220708 for ; Fri, 22 Nov 2019 07:47:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="VOLe9Ocd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 692E220708 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:47878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iY3fM-00046a-Jk for qemu-devel@archiver.kernel.org; Fri, 22 Nov 2019 02:47:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39137) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iY3e6-0003cV-6T for qemu-devel@nongnu.org; Fri, 22 Nov 2019 02:46:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iY3e5-000209-3A for qemu-devel@nongnu.org; Fri, 22 Nov 2019 02:46:25 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:45698) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iY3e4-0001yO-Ow for qemu-devel@nongnu.org; Fri, 22 Nov 2019 02:46:25 -0500 Received: by mail-wr1-x443.google.com with SMTP id z10so7360393wrs.12 for ; Thu, 21 Nov 2019 23:46:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KzF+wf9uQqfbz246ba8hUqqMzZU9UhjUNPeddx8SVR0=; b=VOLe9OcdXO4oIIZTMPFQmiQgEQXMNPdYQddiAJyixrAVwGIEf0Bgk40MwcO2zzNYqd SrVe1ArreyHtpZJ6dTY9PYuMWQSuzP1gIvmRWwVeRbFOZimpsclk9a6bxGuS5qBEzArx 6w+jGgjIchDlzGpCX6TLVvMwKYCtk99rlDtr+/6ARH91/ZRvwbGNqErtBfX8oV2xajoi aTM/LGtA3/DXjl3+NV7mI/m95FyVhouo5W60w+jzTDWbrkGOHrf6GNZGBUCU/i/X0dqE RbnAVhUVT1DwL6U5AgiAj5XLYYaJWd5hUsxMGfDTGn0vjUwcE4CqHgkHmKVH1rThJPBj lbgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KzF+wf9uQqfbz246ba8hUqqMzZU9UhjUNPeddx8SVR0=; b=sX328iF7x5h3HIsmrQrc91gs6g7ymTi1m1J4KSYE5BmIaXj8cBagv5Z00KDBMuOqSC eJEWVsG3v0g00krQ2ypwy9Mjd+Au3/08Cwpo0c6loIcxP0xI8btKrwBu7B8k7tvIk0vC YNkbOnLA6oe1ayO4aB1WjvSbxc1C18+dCPKmhPk1GXyLpLyWCzZ4PJEWMX0miw9Y7KNL JDA1pVjUoUik3MflNi2gx85mtvUtw5x94OVJ840EisvOspG5NcIkw28EdHKWzmxLK+sN /OA+aHNLwvojC5GUj2IZ+GdtiOor9/m6Dyz2/v6QbaXyMYmQiFyBUfrVjBftn99jbiW8 61jQ== X-Gm-Message-State: APjAAAXIbMhxxzV1ayJ8g9FciiBv4+9oa0j8RRT6X9jGlAcrObrXFz2K 98lCVi2Feiff0uAlRrbLgg1Y5A== X-Google-Smtp-Source: APXvYqzxFNwEFFUymDjQtULkOrsD0MCCxTriZkBrtT3pmA9E29L+mTF3JSiDCgwYFJYpza6h9u5+QA== X-Received: by 2002:a5d:4c4e:: with SMTP id n14mr17278734wrt.260.1574408782926; Thu, 21 Nov 2019 23:46:22 -0800 (PST) Received: from ?IPv6:2a00:23c5:4e1b:3700:8d83:30a1:2751:30ec? ([2a00:23c5:4e1b:3700:8d83:30a1:2751:30ec]) by smtp.gmail.com with ESMTPSA id b8sm6536267wrt.39.2019.11.21.23.46.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Nov 2019 23:46:22 -0800 (PST) Subject: Re: [PATCH v35 01/13] target/avr: Add outward facing interfaces and core CPU logic To: Michael Rolnik , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= References: <20191029212430.20617-1-mrolnik@gmail.com> <20191029212430.20617-2-mrolnik@gmail.com> <750745b9-e51c-3757-3eb6-ffce51042d9c@redhat.com> From: Richard Henderson Openpgp: preference=signencrypt Message-ID: Date: Fri, 22 Nov 2019 08:46:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sarah Harris , Joaquin de Andres , Thomas Huth , QEMU Developers , Pavel Dovgalyuk , Igor Mammedov , Aleksandar Markovic Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 11/21/19 8:53 PM, Michael Rolnik wrote: > It seems to be a huge investment. this function should parse the > binary data as `decode_insn` does, so I suggest to modify decodetree > tool to make decoding information available to the instruction print > function. > what do you think? See target/openrisc/disas.c, which makes use of decodetree. It shouldn't be difficult to do something slimiar for avr. r~