aboutsummaryrefslogtreecommitdiffstats
path: root/mppa_k1c/ValueAOp.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-11 20:17:09 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-11 20:17:09 +0200
commit17a8d91a82f67d7f62f8cbad41ba76a4b0b82a30 (patch)
treeed48cc42dfba0a4332daa0655990b11dae000add /mppa_k1c/ValueAOp.v
parenta095ac045485f5693d937864f7990ab5de427f1d (diff)
downloadcompcert-kvx-17a8d91a82f67d7f62f8cbad41ba76a4b0b82a30.tar.gz
compcert-kvx-17a8d91a82f67d7f62f8cbad41ba76a4b0b82a30.zip
apply .xs onto addx4 etc
Diffstat (limited to 'mppa_k1c/ValueAOp.v')
-rw-r--r--mppa_k1c/ValueAOp.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/mppa_k1c/ValueAOp.v b/mppa_k1c/ValueAOp.v
index 1f47fd8f..10f25701 100644
--- a/mppa_k1c/ValueAOp.v
+++ b/mppa_k1c/ValueAOp.v
@@ -394,6 +394,7 @@ Proof.
end) with (Val.sub (Vint n) (Val.shl a1 (Vint (int_of_shift1_4 shift)))).
+ eauto with va.
+ destruct a1; destruct shift; reflexivity.
+ - unfold addxl. eauto with va.
- replace (match Val.shll a1 (Vint (int_of_shift1_4 shift)) with
| Vlong n2 => Vlong (Int64.add n n2)
| Vptr b2 ofs2 =>
@@ -401,8 +402,7 @@ Proof.
then Vptr b2 (Ptrofs.add ofs2 (Ptrofs.of_int64 n))
else Vundef
| _ => Vundef
- end) with
- (Val.addl (Vlong n) (Val.shll a1 (Vint (int_of_shift1_4 shift)))).
+ end) with (Val.addl (Vlong n) (Val.shll a1 (Vint (int_of_shift1_4 shift)))).
+ eauto with va.
+ destruct a1; destruct shift; reflexivity.
- inv H1; constructor.