qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v5 11/36] tcg/tci: Add TCG_TARGET_CALL_{RET,ARG}_I128


From: Richard Henderson
Subject: Re: [PATCH v5 11/36] tcg/tci: Add TCG_TARGET_CALL_{RET,ARG}_I128
Date: Fri, 27 Jan 2023 08:55:18 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 1/27/23 04:00, Alex Bennée wrote:
+                for (i = s = 0; i < n; ++i) {

Why the pre-increment for ++i here? It doesn't make a difference surely?

Why not?  It doesn't make a difference.

(Semi-reflexive preference driven by c++, where post-inc operator might (or might not) be less efficient, needing to return a copy of the class with the "old" value. But if you don't know, or don't care about the old value, use the pre-inc form.)


r~



reply via email to

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