diff options
| author | Richard Henderson | 2014-03-31 06:22:11 +0200 |
|---|---|---|
| committer | Richard Henderson | 2014-04-19 01:57:36 +0200 |
| commit | f6c6afc1d41bf53394df15f62b25f15e1de72614 (patch) | |
| tree | ab150de74af257fe4278118c6cdb88e2a5b9d09d /tcg/tci | |
| parent | tcg: Fix out of range shift in deposit optimizations (diff) | |
| download | qemu-f6c6afc1d41bf53394df15f62b25f15e1de72614.tar.gz qemu-f6c6afc1d41bf53394df15f62b25f15e1de72614.tar.xz qemu-f6c6afc1d41bf53394df15f62b25f15e1de72614.zip | |
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>
Diffstat (limited to 'tcg/tci')
| -rw-r--r-- | tcg/tci/tcg-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/tci/tcg-target.c b/tcg/tci/tcg-target.c index fc80704de8..47c0b85d95 100644 --- a/tcg/tci/tcg-target.c +++ b/tcg/tci/tcg-target.c @@ -859,7 +859,7 @@ static void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg, TCGReg arg1, } /* Test if a constant matches the constraint. */ -static int tcg_target_const_match(tcg_target_long val, +static int tcg_target_const_match(tcg_target_long val, TCGType type, const TCGArgConstraint *arg_ct) { /* No need to return 0 or 1, 0 or != 0 is good enough. */ |
