Re: [PATCH v2] target/sparc: Use memcpy() and remove memcpy32()

2024-12-12 Thread Richard Henderson
On 12/5/24 14:54, Philippe Mathieu-Daudé wrote: Rather than manually copying each register, use the libc memcpy(), which is well optimized nowadays. Suggested-by: Pierrick Bouvier Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- target/

[PATCH v2] target/sparc: Use memcpy() and remove memcpy32()

2024-12-05 Thread Philippe Mathieu-Daudé
Rather than manually copying each register, use the libc memcpy(), which is well optimized nowadays. Suggested-by: Pierrick Bouvier Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- target/sparc/win_helper.c | 26 --