diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-01-14 13:05:41 -1000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-03-29 10:20:04 +0300 |
commit | 93ff84d4c0b78ece4dba688cf2d2db6e1a3945f4 (patch) | |
tree | e2810701630001ba2a754aa39e97b3ceafc14161 /target/i386 | |
parent | 2c0fdb4ed3a122b29462880f4f4c28335d6935ff (diff) |
tests/tcg/i386: Introduce and use reg_t consistently
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 <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230114230542.3116013-2-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 5d62d6649cd367b5b4a3676e7514d2f9ca86cb03)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target/i386')
0 files changed, 0 insertions, 0 deletions