Message ID | 20220822233318.1728621-21-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp2044160mae; Mon, 22 Aug 2022 16:58:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR7B/DCN9wMkhSJmBs6BX0uOo1GpLHSjb1oC5IfZZEIF9/QrHjqkHHReD9yCC1k8UbtJ1/OV X-Received: by 2002:a05:620a:2157:b0:6ba:cc6b:8e99 with SMTP id m23-20020a05620a215700b006bacc6b8e99mr14244373qkm.185.1661212729052; Mon, 22 Aug 2022 16:58:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661212729; cv=none; d=google.com; s=arc-20160816; b=wstElF/h0cofbHH5PuQZtgtoFDCtXHJCCqGu8Sd9PjEyuXEQjM9/J1tefELH6o8G/N mBf/PTgo4eUatioj41VvxIeUohOWeBuu7MLqJQgXrNoPpsn21BNimWXridPBg8GPi2N+ jVrY7q0PzRTe7rzHvLqSKOgwz6Bt56ZiN+yFsaSE1F7E6d7gHqia7qLNCsrIAB9xSUsP Gs0BpaKhkI3v34n5udrUX4avK9iMfnqWQFp91R29B/IE7iMVXFXEye1uKIW32zZ2Z3Bg dFcuyIKOyIIeQTNPA9GraDPUNN+VGVidM1E3P+7+KjdHqIVIcANyAUoeDsU9NBeY+q3U TwLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=fK7z6rYpSkLAcVSpIb1K7FULXyqRfpPeN4PMueAi39g=; b=hhOR8CoYr7duE1SCxdyzSlrchecfI93eDRiMsVwBY1vlts91Sk/wWf0XeQPdf4NDcx k3BR+6jnEywuIKPYoTmKnW0SZHm1RkD/NWpja/1HOuUkWSKFhtkLqsFA/0fwsU/ISUKi jTMokmGlB4oQmaPOeqEILPHhq5zCSml4/gLM/HRfGyiFAYuVx66wQsZwl/8epbwSTOI8 umcKGICdp06jc7kL9pw7MNm16u+RQ3/Mu/xykgXyRKEjWXu7NNMLlUKBTSqLLmWdZr/X 9Iw28Lph4gGcC0VBdBPAYD+5eBgMExXZPMhzMGb8tQZYSeOm/DRfyMQijWNAWHi6WL0+ j0MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DcoSbjrO; 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=pass (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 x15-20020ac86b4f000000b00342f8a02981si4812208qts.767.2022.08.22.16.58.49 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Aug 2022 16:58:49 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=DcoSbjrO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1oQHJg-00037b-LK for patch@linaro.org; Mon, 22 Aug 2022 19:58:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1oQGvb-0006AM-LL for qemu-devel@nongnu.org; Mon, 22 Aug 2022 19:33:57 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:34374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1oQGvW-0007Hh-Ab for qemu-devel@nongnu.org; Mon, 22 Aug 2022 19:33:54 -0400 Received: by mail-pj1-x1031.google.com with SMTP id c16-20020a17090aa61000b001fb3286d9f7so75081pjq.1 for <qemu-devel@nongnu.org>; Mon, 22 Aug 2022 16:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc; bh=fK7z6rYpSkLAcVSpIb1K7FULXyqRfpPeN4PMueAi39g=; b=DcoSbjrOA65xkTbZbOVsSsMcNIBulsgqjElj65vP6aTgwivgcF9G75NUxMZJqxzTq7 cBhUeWH5OVKTUhWwf9XsznbZxEZH9Su2a9Tk1JZn5ME1aGMGMVgS07VVLGu98AicKRjb 83dCXKBwEe0helwrU/pk6cra49h/KQvdieRmmnk911FXt1f+b8Na++r6p+cndqtU9rJF QYuGgfTicZQumwelYU5F8AvYVEOiFu4Dv0dR83efL1SGfb5vyxYzfwH3DTJaVsguQqFf cy9veyE0gu4P3ZrR765yC38nb2A4GHIwV210k4YKIFWtPamarvVM09YvfL13QmKwUKAK uaJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc; bh=fK7z6rYpSkLAcVSpIb1K7FULXyqRfpPeN4PMueAi39g=; b=GmU59ufEfu1dxHCr0C8i39+FewEeMIZ3d7LVP0kB9Pm3M4pSQkreN1mqfU0PyBmiI+ QKT+CwJJswKem3pCQ0Bdrdkna+r0WXNy6N+mq2DhBIKBZe9gKyYQRRMnHI9oydvQxoAn JUt4LH1xrh870smOYD3EJdQZAAyhdhzBfbDO/fTfj7RKFBkEBrU1dDo5VHlctVzoPyGN 8avccAIOji6G4xhx6DHxvUzYWr1BQTgv78IcPO/vCcWQ3PBDbYFvNjZ1fHGlPUoD+2De w7wMqI/aTvkLfMnykLsyCh4rtNb07qszUhaUtKjdtkrw2FO9mvaWw+HGnKIp0XJ+HC9S 8Bqw== X-Gm-Message-State: ACgBeo3vnEqxmykAw4IZC4fwCIUwGSVefYLsXU+INLj7NyNeHMckQd92 ZTfP/xPRYv1lTusGKljq+2GwlG62bu7SEA== X-Received: by 2002:a17:90a:4e46:b0:1fb:45e2:5d86 with SMTP id t6-20020a17090a4e4600b001fb45e25d86mr636483pjl.193.1661211226482; Mon, 22 Aug 2022 16:33:46 -0700 (PDT) Received: from stoup.. ([2602:47:d49d:ec01:c3f1:b74f:5edd:63af]) by smtp.gmail.com with ESMTPSA id 82-20020a621555000000b0053655af14easm5133124pfv.45.2022.08.22.16.33.45 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Aug 2022 16:33:45 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH 20/22] target/i386: Use gen_jmp_rel for DISAS_TOO_MANY Date: Mon, 22 Aug 2022 16:33:16 -0700 Message-Id: <20220822233318.1728621-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220822233318.1728621-1-richard.henderson@linaro.org> References: <20220822233318.1728621-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1031.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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: <https://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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/i386: pc-relative translation
|
expand
|
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index 67c803263b..846040c1ab 100644 --- a/target/i386/tcg/translate.c +++ b/target/i386/tcg/translate.c @@ -8627,6 +8627,9 @@ static void i386_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) case DISAS_NORETURN: break; case DISAS_TOO_MANY: + gen_update_cc_op(dc); + gen_jmp_rel(dc, MO_32, 0, 0); + break; case DISAS_EOB_NEXT: gen_update_cc_op(dc); gen_update_eip_cur(dc);
With gen_jmp_rel, we may chain between two translation blocks which may only be separated because of TB size limits. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/i386/tcg/translate.c | 3 +++ 1 file changed, 3 insertions(+)