aboutsummaryrefslogtreecommitdiffstats
path: root/aarch64/Op.v
diff options
context:
space:
mode:
authorxavier.leroy <xavier.leroy@college-de-france.fr>2019-08-31 17:00:24 +0200
committerxavier.leroy <xavier.leroy@college-de-france.fr>2019-08-31 17:00:24 +0200
commitc243b565ab0744086e10efcfee16768f6c3cf880 (patch)
tree48c3556e6538464b00d43f94ba7e12e2b416b714 /aarch64/Op.v
parent25a39ae6be7a4b65e01d9bb6b1fd94688aa674b0 (diff)
downloadcompcert-kvx-c243b565ab0744086e10efcfee16768f6c3cf880.tar.gz
compcert-kvx-c243b565ab0744086e10efcfee16768f6c3cf880.zip
AArch64: wrong expected type for arguments of Cmaskl{zero,notzero}
The argument is of type Tlong, not Tint. This caused spurious errors in RTLtyping. Also: in AArch64/PrintOp.ml, print Cmaskl{zero,notzero} with "&l" to distinguish them from Cmask{zero,notzero}.
Diffstat (limited to 'aarch64/Op.v')
-rw-r--r--aarch64/Op.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/aarch64/Op.v b/aarch64/Op.v
index 34c03c77..a7483d56 100644
--- a/aarch64/Op.v
+++ b/aarch64/Op.v
@@ -564,8 +564,8 @@ Definition type_of_condition (c: condition) : list typ :=
| Ccompluimm _ _ => Tlong :: nil
| Ccomplshift _ _ _ => Tlong :: Tlong :: nil
| Ccomplushift _ _ _ => Tlong :: Tlong :: nil
- | Cmasklzero _ => Tint :: nil
- | Cmasklnotzero _ => Tint :: nil
+ | Cmasklzero _ => Tlong :: nil
+ | Cmasklnotzero _ => Tlong :: nil
| Ccompf _ => Tfloat :: Tfloat :: nil
| Cnotcompf _ => Tfloat :: Tfloat :: nil
| Ccompfzero _ => Tfloat :: nil