qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/7] tcg/ppc: Use PADDI in tcg_out_movi


From: Richard Henderson
Subject: Re: [PATCH 2/7] tcg/ppc: Use PADDI in tcg_out_movi
Date: Mon, 7 Aug 2023 14:26:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 8/6/23 20:53, Jordan Niethe wrote:
+        tmp = tcg_out_need_prefix_align(s) * 4;

tcg_out_need_prefix_align() returns a bool, optionally might prefer

tmp = tcg_out_need_prefix_align(s) ? 4 : 0;

I suppose.  C type promotion rules make the multiplication just the same though.

That said, I've merged back Nick's tcg_pcrel_diff_for_prefix function using ?:.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]