Re: [PATCH qemu v3] ppc: Define SETFIELD for the ppc target

2022-07-02 Thread Daniel Henrique Barboza
On 6/28/22 05:05, Alexey Kardashevskiy wrote: It keeps repeating, move it to the header. This uses __builtin_ffsll() to allow using the macros in #define. This is not using the QEMU's FIELD macros as this would require changing all such macros found in skiboot (the PPC PowerNV firmware). Sig

[PATCH qemu v3] ppc: Define SETFIELD for the ppc target

2022-06-28 Thread Alexey Kardashevskiy
It keeps repeating, move it to the header. This uses __builtin_ffsll() to allow using the macros in #define. This is not using the QEMU's FIELD macros as this would require changing all such macros found in skiboot (the PPC PowerNV firmware). Signed-off-by: Alexey Kardashevskiy --- Changes: v3: