Re: [PATCH] target/sparc: Use memcpy() in memcpy32()

2024-12-04 Thread Richard Henderson
On 12/4/24 14:41, Philippe Mathieu-Daudé wrote: Rather than manually copying each register, use the libc memcpy(), which is well optimized. Signed-off-by: Philippe Mathieu-Daudé --- Worth renaming as reg8cpy()? --- target/sparc/win_helper.c | 9 + 1 file changed, 1 insertion(+), 8 de

Re: [PATCH] target/sparc: Use memcpy() in memcpy32()

2024-12-04 Thread Pierrick Bouvier
On 12/4/24 12:41, Philippe Mathieu-Daudé wrote: Rather than manually copying each register, use the libc memcpy(), which is well optimized. Signed-off-by: Philippe Mathieu-Daudé --- Worth renaming as reg8cpy()? --- target/sparc/win_helper.c | 9 + 1 file changed, 1 insertion(+), 8 de

[PATCH] target/sparc: Use memcpy() in memcpy32()

2024-12-04 Thread Philippe Mathieu-Daudé
Rather than manually copying each register, use the libc memcpy(), which is well optimized. Signed-off-by: Philippe Mathieu-Daudé --- Worth renaming as reg8cpy()? --- target/sparc/win_helper.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/target/sparc/win_helper.c b