Re: [PATCH 1/2] tests/tcg/i386: Introduce and use reg_t consistently

2023-01-16 Thread Philippe Mathieu-Daudé
On 15/1/23 00:05, Richard Henderson wrote: Define reg_t based on the actual register width. Define the inlines using that type. This will allow input registers to 32-bit insns to be set to 64-bit values on x86-64, which allows testing various edge cases. Signed-off-by: Richard Henderson ---

[PATCH 1/2] tests/tcg/i386: Introduce and use reg_t consistently

2023-01-14 Thread Richard Henderson
Define reg_t based on the actual register width. Define the inlines using that type. This will allow input registers to 32-bit insns to be set to 64-bit values on x86-64, which allows testing various edge cases. Signed-off-by: Richard Henderson --- tests/tcg/i386/test-i386-bmi2.c | 182