aboutsummaryrefslogtreecommitdiffstats
path: root/arm/SelectOpproof.v
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2019-08-17 10:10:42 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2019-08-17 10:10:42 +0200
commit7d5db993033ce049776fa290ae1ebc6051dea0f3 (patch)
treedf067338ff4dd76ee805a486f865ff2272b3c82a /arm/SelectOpproof.v
parent27167c6226bbdd2856b8bb6c290b31b5e8534ba9 (diff)
downloadcompcert-kvx-7d5db993033ce049776fa290ae1ebc6051dea0f3.tar.gz
compcert-kvx-7d5db993033ce049776fa290ae1ebc6051dea0f3.zip
Fix compile for architectures other than AArch64 (#192)
Some changes were not correctly propagated to all architectures.
Diffstat (limited to 'arm/SelectOpproof.v')
-rw-r--r--arm/SelectOpproof.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm/SelectOpproof.v b/arm/SelectOpproof.v
index 5d54d94f..70f8f191 100644
--- a/arm/SelectOpproof.v
+++ b/arm/SelectOpproof.v
@@ -754,7 +754,7 @@ Qed.
Theorem eval_cast8unsigned: unary_constructor_sound cast8unsigned (Val.zero_ext 8).
Proof.
red; intros until x. unfold cast8unsigned.
- rewrite Val.zero_ext_and. apply eval_andimm. compute; auto.
+ rewrite Val.zero_ext_and. apply eval_andimm. omega.
Qed.
Theorem eval_cast16signed: unary_constructor_sound cast16signed (Val.sign_ext 16).
@@ -767,7 +767,7 @@ Qed.
Theorem eval_cast16unsigned: unary_constructor_sound cast16unsigned (Val.zero_ext 16).
Proof.
red; intros until x. unfold cast8unsigned.
- rewrite Val.zero_ext_and. apply eval_andimm. compute; auto.
+ rewrite Val.zero_ext_and. apply eval_andimm. omega.
Qed.
Theorem eval_singleoffloat: unary_constructor_sound singleoffloat Val.singleoffloat.