Received: from eggs.gnu.org ([2001:4830:134:3::10]:52915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo906-0002FD-MF for qemu-devel@nongnu.org; Fri, 10 Aug 2018 11:06:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo902-0005ba-7t for qemu-devel@nongnu.org; Fri, 10 Aug 2018 11:06:50 -0400 Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]:36302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fo901-0005ag-Vt for qemu-devel@nongnu.org; Fri, 10 Aug 2018 11:06:46 -0400 Received: by mail-pl0-x242.google.com with SMTP id e11-v6so4168967plb.3 for ; Fri, 10 Aug 2018 08:06:45 -0700 (PDT) References: <20180809214356.27690-1-cota@braap.org> <20180809214356.27690-2-cota@braap.org> From: Richard Henderson Message-ID: <131203c8-a987-4e17-b52f-bea4ff0b7e94@linaro.org> Date: Fri, 10 Aug 2018 08:06:41 -0700 MIME-Version: 1.0 In-Reply-To: <20180809214356.27690-2-cota@braap.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/3] target/riscv: optimize cross-page direct jumps in softmmu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" , qemu-devel@nongnu.org Cc: Michael Clark , Palmer Dabbelt , Sagar Karandikar , Bastian Koppelmann On 08/09/2018 02:43 PM, Emilio G. Cota wrote: > Signed-off-by: Emilio G. Cota > --- > target/riscv/translate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/riscv/translate.c b/target/riscv/translate.c > index 0b6be74f2d..ec2988b4f6 100644 > --- a/target/riscv/translate.c > +++ b/target/riscv/translate.c > @@ -135,7 +135,7 @@ static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest) > if (ctx->base.singlestep_enabled) { > gen_exception_debug(); > } else { > - tcg_gen_exit_tb(NULL, 0); > + tcg_gen_lookup_and_goto_ptr(); > } > } > } > Reviewed-by: Richard Henderson r~