From patchwork Mon Jan 14 07:48:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10761691 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 657566C5 for ; Mon, 14 Jan 2019 07:50:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 524EA28A3C for ; Mon, 14 Jan 2019 07:50:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 46A5828A85; Mon, 14 Jan 2019 07:50:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_FROM, MAILING_LIST_MULTI autolearn=no version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F38DA28A94 for ; Mon, 14 Jan 2019 07:50:51 +0000 (UTC) Received: from localhost ([127.0.0.1]:54348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gix1G-0007TQ-Dy for patchwork-qemu-devel@patchwork.kernel.org; Mon, 14 Jan 2019 02:50:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giwzr-0006Oi-10 for qemu-devel@nongnu.org; Mon, 14 Jan 2019 02:49:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giwzp-0001oO-5J for qemu-devel@nongnu.org; Mon, 14 Jan 2019 02:49:22 -0500 Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]:39851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1giwzo-0001mF-PR for qemu-devel@nongnu.org; Mon, 14 Jan 2019 02:49:20 -0500 Received: by mail-lf1-x144.google.com with SMTP id n18so14877781lfh.6 for ; Sun, 13 Jan 2019 23:49:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=XBEwfkhWEUBQdo232W/pZX3cnaDwV1IKBExxb45evz4=; b=R9PnB4h0PyqVDZwAKeltZva5bnVdYWHWnoUzhCvyEm+jm6Zm9b1JG0x2tsyoFSbPEU U5I949WYt1eBvLRewgw829QjZJSdtif+ylguCiDz8Cv/OkErAVxtNkaTgYCU31z21n/8 jzBf/L3gNMJirrFoCZOgL1ansH1FgiVu5lE3zdst+EcZvnxhrti4oqmyAepr+3AZ4U6Z sE1Y8/9UWHNJCvHeEhuMy37fZyssvTH8zaEnVCvsbFU89NkRsau/f6TEGRCFMDLjE0Mb PAUzAwAkrX0OgAceoezOMcgmWx2BHRO0T9LEBDUXGZxa/x4WLt6FvfRUJ7z9FWolVl9/ yvGw== 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=XBEwfkhWEUBQdo232W/pZX3cnaDwV1IKBExxb45evz4=; b=b6wuqWrzgzm11RXh4daxOr5z55Ql+1L3G3p4ZxLljaC9PlZTPxhX5D/Qd07uWtj6Fs s9iV/EwJy/CJBlFQ97Mm/XkFc09nPA9tX0J/OImSmpv83G1/eEjzH7I672x8sMWDSw7i unGb0hHtLX17wvKIEAut+PZu4rRZun/g1ulGV3AxkTsIYQ8Nhw8QeiVirzf/KyhVRipp t3QUrRiNnEOBTlBdEiZfDKFf6T9GHLsNN3o877tly6CNUcfAl5oDOtOd/EnBfXFRNGdB OFK1GPD8YShr0xodEXvbl0tZV3dxJsYM3qauRgDiEKnA0XDTZPVXHVEDNvjp5u0D86JE mhDw== X-Gm-Message-State: AJcUukf/j0z2vuNHzk2PUjOWoVsosESNepuwqwRtsVPQkP00zUMW0ZEa M9CQBxOIBDTXN7qCo9bOGtY5WEzT X-Google-Smtp-Source: ALg8bN4V8RhWVA0FZU7+jkCBYVuGBnS5Wn8rMPnpe9EtTKbPdBKKjn0l/fpWsK1xBSCKpTe4Q39OMA== X-Received: by 2002:ac2:50c4:: with SMTP id h4mr12306140lfm.81.1547452157346; Sun, 13 Jan 2019 23:49:17 -0800 (PST) Received: from octofox.hsd1.ca.comcast.net. (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id g17sm16181570lfg.78.2019.01.13.23.49.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Jan 2019 23:49:16 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Sun, 13 Jan 2019 23:48:48 -0800 Message-Id: <20190114074855.16891-1-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.11.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::144 Subject: [Qemu-devel] [PATCH 0/7] target/xtensa: group helpers by functionality 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: Max Filippov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hello, this series moves helper functions for FPU, windowed registers, MMU, native debug, interrupt and exception handling from op_helper.c and helper.c to separate *_helper.c files. There's no functional changes. Max Filippov (7): target/xtensa: extract FPU helpers target/xtensa: extract windowed registers helpers target/xtensa: extract MMU helpers target/xtensa: extract debug helpers target/xtensa: extract interrupt and exception helpers target/xtensa: drop dump_state helper target/xtensa: move non-HELPER functions to helper.c target/xtensa/Makefile.objs | 5 + target/xtensa/dbg_helper.c | 129 +++++++ target/xtensa/exc_helper.c | 258 +++++++++++++ target/xtensa/fpu_helper.c | 166 +++++++++ target/xtensa/helper.c | 635 ++------------------------------ target/xtensa/helper.h | 1 - target/xtensa/mmu_helper.c | 818 +++++++++++++++++++++++++++++++++++++++++ target/xtensa/op_helper.c | 870 -------------------------------------------- target/xtensa/win_helper.c | 222 +++++++++++ 9 files changed, 1636 insertions(+), 1468 deletions(-) create mode 100644 target/xtensa/dbg_helper.c create mode 100644 target/xtensa/exc_helper.c create mode 100644 target/xtensa/fpu_helper.c create mode 100644 target/xtensa/mmu_helper.c create mode 100644 target/xtensa/win_helper.c