On Mar 12, 2025, at 9:29 PM, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
> ---
> target/ppc/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/ppc/translate.c b/target/ppc/translate.c
> index 80638ab535..fc5276254a 100644
> --- a/target/ppc/translate.c
> +++ b/target/ppc/translate.c
> @@ -209,7 +209,7 @@ struct DisasContext {
> #define DISAS_CHAIN DISAS_TARGET_2 /* lookup next tb, pc updated */
> #define DISAS_CHAIN_UPDATE DISAS_TARGET_3 /* lookup next tb, pc stale */
>
> -/* Return true iff byteswap is needed in a scalar memop */
> +/* Return true if byteswap is needed in a scalar memop */
> static inline bool need_byteswap(const DisasContext *ctx)
> {
> #if TARGET_BIG_ENDIAN
> --
> 2.47.1
This is much more likely to be intended than an error — “iff” is established short-hand for “if and only if”.
Cheers,
Josh