Message ID | 20190212045721.28041-20-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 31274b46e43abd95ed559d242b36e859de3dae89 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3415838jaa; Mon, 11 Feb 2019 21:04:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IaPtx0oQQoN+6r93dO7h2pPS0gYN+pyzzg0MP9N53fhh1YrHrkYWS8qKkkRX3d0au+0XhMY X-Received: by 2002:a81:168c:: with SMTP id 134mr833274yww.171.1549947881078; Mon, 11 Feb 2019 21:04:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549947881; cv=none; d=google.com; s=arc-20160816; b=lil8IfSd9BzAJPWa5D9eRfDUjaUcObd4DYfBgDvupto0DtryZ8TKWxRIXGXmn7s/xr ioFLPlrnYlOPlSGlM9FM0KblKdRd7Z3wS5dXeuJPC5lfzk9VXSRQbycFCdntBe3TppmQ jSvdSmc8FD8SEIk7FEV3/p3N3hHYfyeke5Cize5sikJxP93XwBZFSpKqO+6wXuySVuKD SJdY39raDfONRuUeWQuTxWy34yr0dwHvWESdGInL/35Huoqtq+J6xzY39XtWkiLXmnZ4 zmLFvm4N55rTAj2JVNpqepD8MsRiePBmpShhMlmEfDyxmVDAsdQeWt14ImAEEIeGyGDu KDmQ== 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:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=SIbuKGylEpqtx4B78a3bMTBI3jNfuru9iF5mRgPNCxY=; b=zKDsbLQHYDBpMPwR6xblBfOtgUg+cSccseniMNNB6oOTy79O8K7DA+WVDFIMTPUERe n51nMqQ7bDZT2za6tp9SS33gLUf29FT4UO+Ks+hpNa/bypQuAMvYkYU0DDQ1N8SVOpVp gcHJLZOUatmJzkxfOPl8quXXq13cVd5TRnR7vKKXf+/QGxUkfppgMMgvvEuuHLz7LbJ5 7qZBB+5FfJ45J/bohz+b4KUSGdeJX5XapgtbWX2s5eL1ULnswaQzyxhlRfv0WcrQk9cB p3+89NWImalkrcBZLCp57YOPqIpxOCnc4dS5+DpeU1tkbM8DlwuRxf9nlrL9n8Eletbb bUIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ADreUs8a; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v7si7212557ywd.323.2019.02.11.21.04.40 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 11 Feb 2019 21:04:41 -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=ADreUs8a; 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]:33176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gtQFM-0007fv-Hj for patch@linaro.org; Tue, 12 Feb 2019 00:04:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gtQ8y-0002fG-7w for qemu-devel@nongnu.org; Mon, 11 Feb 2019 23:58:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gtQ8m-0001qO-He for qemu-devel@nongnu.org; Mon, 11 Feb 2019 23:57:56 -0500 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:35262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1gtQ8m-0001jw-0s for qemu-devel@nongnu.org; Mon, 11 Feb 2019 23:57:52 -0500 Received: by mail-pg1-x52c.google.com with SMTP id s198so676411pgs.2 for <qemu-devel@nongnu.org>; Mon, 11 Feb 2019 20:57:48 -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:in-reply-to:references; bh=SIbuKGylEpqtx4B78a3bMTBI3jNfuru9iF5mRgPNCxY=; b=ADreUs8a43a5UTFd+nCnbEVvRp5yVX7AJ6JTxnO4S2Gd/y3XAKpRriw3fp4+uKq6PX ksiZOfhsGiq9+dqV15i7CsuF1mKVnOcLGgOOZBZcPwotmmptB0/uSitqRpI49QymuCO1 kqyA/8mzxvMXaOMLJJe/jf728HrHLwMOhBbDTCC38S56aM/q3bx7UiWhm0i7j9bgZCvt BaBmBir1gqncOT8Au6aB9C3s2E725nfUoFhqcFoB0yCc5ApiXpX8NsyiNLWyfGg3ANWs OamviJaxCxeNGihQ8Jyf2eFaivFK8NLy7aokzMp4764tfYm2+7ubjgEmiM7REm31LIR5 y+5A== 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:in-reply-to :references; bh=SIbuKGylEpqtx4B78a3bMTBI3jNfuru9iF5mRgPNCxY=; b=nYv2Y0Uev03FrlE4hPU5mHDQGSQbryxXHJqCzTzq8Pv+kOvNN18SprxFrveKqWfyFt VwqfZdBvKegRso82681kVwOC5AAv8ider1wxi8ObM8LVRCOLrdIO2x5Z+QI/SAv/8AZO oAYFk38OI7p2FgKeEawOx0k+3/SW6AfMElKiXRWYAUKMnr4QnPtrHaUrwSB9mA5PTAwn qE+gqDOBd+xT0FYpH53pLHhR9to2ZGupBqLrY7SIxmC6Q8G4AV06tztaUicJug8EWEZQ toE2Qd5wYmu5UO+xGZFLjmyBjG7NeTaQtBmBXBgGHmtethuWSzFHeVpH2wCSFGpTN8i8 bF8g== X-Gm-Message-State: AHQUAuaqfnS1bsxUbrwbC5/OJcowxtPgzeC3o5RAAWPJDkN8JeIvq6AJ H0aXCUaWFDl4v9OCd2cjqbjEE/7hGUI= X-Received: by 2002:a63:3206:: with SMTP id y6mr1891812pgy.338.1549947467105; Mon, 11 Feb 2019 20:57:47 -0800 (PST) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id a90sm22088923pfj.109.2019.02.11.20.57.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Feb 2019 20:57:46 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Mon, 11 Feb 2019 20:57:16 -0800 Message-Id: <20190212045721.28041-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190212045721.28041-1-richard.henderson@linaro.org> References: <20190212045721.28041-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52c Subject: [Qemu-devel] [PULL 19/24] target/hppa: Merge translate_one into hppa_tr_translate_insn X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/hppa patch queue
|
expand
|
diff --git a/target/hppa/translate.c b/target/hppa/translate.c index ecec5c42d1..6836fb6245 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -3982,13 +3982,6 @@ static bool trans_fmpyfadd_d(DisasContext *ctx, arg_fmpyfadd_d *a) return nullify_end(ctx); } -static void translate_one(DisasContext *ctx, uint32_t insn) -{ - if (!decode(ctx, insn)) { - gen_illegal(ctx); - } -} - static void hppa_tr_init_disas_context(DisasContextBase *dcbase, CPUState *cs) { DisasContext *ctx = container_of(dcbase, DisasContext, base); @@ -4094,7 +4087,9 @@ static void hppa_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) ret = DISAS_NEXT; } else { ctx->insn = insn; - translate_one(ctx, insn); + if (!decode(ctx, insn)) { + gen_illegal(ctx); + } ret = ctx->base.is_jmp; assert(ctx->null_lab == NULL); }