Received: from eggs.gnu.org ([209.51.188.92]:51379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyIoJ-0006HK-Ki for qemu-devel@nongnu.org; Mon, 25 Feb 2019 11:08:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyIoH-0001QN-Ij for qemu-devel@nongnu.org; Mon, 25 Feb 2019 11:08:55 -0500 References: <20190225115552.7534-1-david@redhat.com> <20190225115552.7534-6-david@redhat.com> <5b958dce-1a57-7be6-f5fe-f24ca7cae7f2@linaro.org> From: David Hildenbrand Message-ID: Date: Mon, 25 Feb 2019 17:08:49 +0100 MIME-Version: 1.0 In-Reply-To: <5b958dce-1a57-7be6-f5fe-f24ca7cae7f2@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 5/7] s390x/tcg: Factor out gen_addi_and_wrap_i64() from get_address() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Cornelia Huck , Thomas Huth , Richard Henderson On 25.02.19 16:53, Richard Henderson wrote: > On 2/25/19 3:55 AM, David Hildenbrand wrote: >> Also properly wrap in 24bit mode. While at it, convert the comment (and >> drop the comment about fundamental TCG optimizations). >> >> Signed-off-by: David Hildenbrand >> --- >> target/s390x/translate.c | 41 +++++++++++++++++++++++++--------------- >> 1 file changed, 26 insertions(+), 15 deletions(-) > > Reviewed-by: Richard Henderson > >> +static inline void gen_addi_and_wrap_i64(DisasContext *s, TCGv_i64 dst, >> + TCGv_i64 src, int64_t imm) > > I would drop the inline and let the compiler choose. > I'm using very few explicit inline markers these days... Makes sense, the compiler usually knows better. Thanks! > > > r~ > -- Thanks, David / dhildenb