From patchwork Thu Sep 7 18:50:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 111965 Delivered-To: patch@linaro.org Received: by 10.140.94.239 with SMTP id g102csp494894qge; Thu, 7 Sep 2017 11:52:49 -0700 (PDT) X-Received: by 10.80.182.195 with SMTP id f3mr207797ede.127.1504810368868; Thu, 07 Sep 2017 11:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504810368; cv=none; d=google.com; s=arc-20160816; b=vrSIrUD2liwI+lygky4U9T0ydc3OS8E4NWf/cMo4ahWHRni65ge4Hh42hRCV4GwgIF ySGQNZCDaSZjnz4OwQVUqa+XiDQjt/dPZjXliCRVoTIqBfeE5GbsUboTAISBztYdzw5V HAKYEUiiD+Ssm4CvIDdcgKf3su8QlJrmZami4w5NU7XEYhaeQkzVSHKOIlWbSC87HBfD q3i7PoTgBUrndKKEXIN0hg5On8P0YDbmxyWlFBCma0UDIK/rjk63a8a8DAqOupDFZmO8 hkqhbfqQLFlwmfbH1ZrCoD+Vf4Wmxk9lneTtSqLfXZv3vEegq1BuT9xVmOOSAZNJfKQh HlSQ== 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=s/b7AJUyHN++TvWMWzpFifKEmr2pjUcjZtLB96DvGDc=; b=0PP7p+llYjWRBEw/E7UmJxlctoDQlv7/sjv2Z8lBtVyG3+dFy8Bai+ouicQZbL4t6D hgJekZqdd3NK6x5fSO70SjlyqA63Ig43YpfiABn9Wtd1yQCFw5Zv6moo3BSfWi4qfu33 NuTejTytqf1vCx5vytLYtBuDwhA6dRfv5oYFpwZD0mVH1hRt+yBh6qPLRChLIPaIFE7s w493ZMZERCSRjb1MPmmNyHvk+w2U8loFmQNbNcTKCFnkQS7ahJ4m97x/297o5AX/NbuO ruZkELRIBB+D1iUabe2KwA49q+GFBcW7cOuPgzPAm4GA+HpPDQoLaS4nirXWmoqQPRkW 3cfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=kouyEagw; 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 g58si22741eda.8.2017.09.07.11.52.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 07 Sep 2017 11:52:48 -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=kouyEagw; 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]:41770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq1ux-000153-OV for patch@linaro.org; Thu, 07 Sep 2017 14:52:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq1tJ-000080-03 for qemu-devel@nongnu.org; Thu, 07 Sep 2017 14:51:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dq1tE-0000Sl-Cs for qemu-devel@nongnu.org; Thu, 07 Sep 2017 14:51:05 -0400 Received: from mail-pg0-x22d.google.com ([2607:f8b0:400e:c05::22d]:37400) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dq1tE-0000SP-5n for qemu-devel@nongnu.org; Thu, 07 Sep 2017 14:51:00 -0400 Received: by mail-pg0-x22d.google.com with SMTP id d8so979589pgt.4 for ; Thu, 07 Sep 2017 11:51:00 -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=s/b7AJUyHN++TvWMWzpFifKEmr2pjUcjZtLB96DvGDc=; b=kouyEagwZIvK4F8StidrQ+mrlPil7hLlFjzhvEe8SSenq5EywtaumfGJ7xOLydYuGw Rv+Ap9sLX1u8cTIlrOSxZkOjZYMKa3as3dyHHfdDlArOLWTX0DoLRrTW4St9uX+Ju3Wa W7A9ckkE7DyBmyq7eQ5kMsQIlWTj2KgAU7yeA= 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=s/b7AJUyHN++TvWMWzpFifKEmr2pjUcjZtLB96DvGDc=; b=idrCXbjt0ZquGzIT16HzQVqzDXvmGgiMg2k3voIGtaOa5JfrrR5ExDLBSPjgZwYlhF +IVuvGWu3/zmyk5IwEmW0r5wzODcDQC4jVzkk5GXUdp7kh/E/MYlKo+q45sagrfDTN2d o/QBOrzMgRBkJVMk1B+MslCiiWUtujtW559aVYeMD72oi/dICRwYnh/HahMNWan2sIZQ gMmddXSBV+K+97wkCi4RrD/iynhc0tRQ8WDM41BPTz846RUBWLpVs3YzP71Gb+Cm5hgl LyTrT0yLHAMboy3DTVXpO8KoC/ugkEI6gxQv4sgy8zNQ+BW1qNchfL0hGSwZpa5d1IA+ hrew== X-Gm-Message-State: AHPjjUisTJlq/5dDRdCIzyQpt0PoyA2IjgqfsNMaXAio9Q41EATvKYau fGyhPnwZ2tnff1uu3CazuA== X-Google-Smtp-Source: ADKCNb6BA3nEUB4gkG1DKfGVore0S7uqLFDwZVlqdzeG1aX//o41Hgf4UUJ03WENBouVu5Q96OdWCw== X-Received: by 10.99.3.22 with SMTP id 22mr309135pgd.77.1504810258914; Thu, 07 Sep 2017 11:50:58 -0700 (PDT) Received: from pike.twiddle.net (97-126-108-236.tukw.qwest.net. [97.126.108.236]) by smtp.gmail.com with ESMTPSA id l74sm481401pfi.9.2017.09.07.11.50.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 07 Sep 2017 11:50:58 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 7 Sep 2017 11:50:52 -0700 Message-Id: <20170907185057.23421-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.5 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22d Subject: [Qemu-devel] [PATCH v2 0/5] target/sh4 updates 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: aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Mostly the update for TranslatorOps. But also a new implementation of movco using cmpxchg. Aurelien had previously requested the change exclude system mode. I've made the change only for parallel_cpus. r~ Richard Henderson (5): target/sh4: Use cmpxchg for movco when parallel_cpus target/sh4: Convert to DisasJumpType target/sh4: Do not singlestep after exceptions target/sh4: Convert to DisasContextBase target/sh4: Convert to TranslatorOps linux-user/main.c | 19 +- target/sh4/cpu.h | 4 +- target/sh4/helper.c | 1 + target/sh4/translate.c | 490 +++++++++++++++++++++++++++---------------------- 4 files changed, 291 insertions(+), 223 deletions(-) -- 2.13.5