mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
tcg: Add TCGType parameter to tcg_target_const_match
Most 64-bit targets need to be able to ignore the high bits of a TCG_TYPE_I32 value. Suggested-by: Stuart Brady <sdb@zubnet.me.uk> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
d998e555d2
commit
f6c6afc1d4
11 changed files with 13 additions and 13 deletions
|
@ -261,7 +261,7 @@ static inline int check_fit_imm(uint32_t imm)
|
|||
* mov operand2: values represented with x << (2 * y), x < 0x100
|
||||
* add, sub, eor...: ditto
|
||||
*/
|
||||
static inline int tcg_target_const_match(tcg_target_long val,
|
||||
static inline int tcg_target_const_match(tcg_target_long val, TCGType type,
|
||||
const TCGArgConstraint *arg_ct)
|
||||
{
|
||||
int ct;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue