qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH v4 33/47] target/ppc: Implement xxgenpcv[bhwd]m instruction


From: Richard Henderson
Subject: Re: [PATCH v4 33/47] target/ppc: Implement xxgenpcv[bhwd]m instruction
Date: Tue, 22 Feb 2022 13:48:11 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/22/22 04:36, matheus.ferst@eldorado.org.br wrote:
+#define XXGENPCV(NAME, SZ) \
+void helper_##NAME(ppc_vsr_t *t, ppc_vsr_t *b, target_ulong imm)            \
+{                                                                           \
+    ppc_vsr_t tmp = { .u64 = { 0, 0 } };                                    \
+                                                                            \
+    switch (imm) {                                                          \

You should split the helper and not pass down imm.


r~



reply via email to

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