mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
tcg/i386: Drop BYTEH deposits for 64-bit
It is more useful to allow low-part deposits into all registers than to restrict allocation for high-byte deposits. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
64919f710f
commit
36df88c040
4 changed files with 6 additions and 8 deletions
|
@ -227,8 +227,8 @@ typedef enum {
|
|||
#define TCG_TARGET_HAS_cmpsel_vec -1
|
||||
|
||||
#define TCG_TARGET_deposit_i32_valid(ofs, len) \
|
||||
(((ofs) == 0 && (len) == 8) || ((ofs) == 8 && (len) == 8) || \
|
||||
((ofs) == 0 && (len) == 16))
|
||||
(((ofs) == 0 && ((len) == 8 || (len) == 16)) || \
|
||||
(TCG_TARGET_REG_BITS == 32 && (ofs) == 8 && (len) == 8))
|
||||
#define TCG_TARGET_deposit_i64_valid TCG_TARGET_deposit_i32_valid
|
||||
|
||||
/* Check for the possibility of high-byte extraction and, for 64-bit,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue