Richard Henderson writes:
> On 11/16/2016 08:25 PM, Richard Henderson wrote:
>> @@ -206,6 +206,9 @@ static int tcg_target_const_match(tcg_target_long val,
>> TCGType type,
>> if ((ct & TCG_CT_CONST_MONE) && val == -1) {
>> return 1;
>> }
>> +if ((ct & TCG_CT_CONST_WSZ) &&
On 11/16/2016 08:25 PM, Richard Henderson wrote:
@@ -206,6 +206,9 @@ static int tcg_target_const_match(tcg_target_long val,
TCGType type,
if ((ct & TCG_CT_CONST_MONE) && val == -1) {
return 1;
}
+if ((ct & TCG_CT_CONST_WSZ) && val == (type ? 64 : 32)) {
+return 1;
Cc: Claudio Fontana
Signed-off-by: Richard Henderson
---
tcg/aarch64/tcg-target.h | 8
tcg/aarch64/tcg-target.inc.c | 47
2 files changed, 51 insertions(+), 4 deletions(-)
diff --git a/tcg/aarch64/tcg-target.h b/tcg/aarch64/tcg-target.h