aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/ConstpropOpproof.v
diff options
context:
space:
mode:
authorBernhard Schommer <bschommer@users.noreply.github.com>2019-08-13 17:13:46 +0200
committerGitHub <noreply@github.com>2019-08-13 17:13:46 +0200
commit192bd462233d0284fa3d5f8e8994a514b549713e (patch)
tree73d6ee96c12f2850e6e46222171c95a83ff75e61 /powerpc/ConstpropOpproof.v
parent040d9c67942c73d875eec9a2ab131fbae6e8f984 (diff)
downloadcompcert-kvx-192bd462233d0284fa3d5f8e8994a514b549713e.tar.gz
compcert-kvx-192bd462233d0284fa3d5f8e8994a514b549713e.zip
Allow Long as const result for ppc64 variant.
Since the ppc64 has 64 bit registers it is okay to have a 64 bit constant result.
Diffstat (limited to 'powerpc/ConstpropOpproof.v')
-rw-r--r--powerpc/ConstpropOpproof.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/ConstpropOpproof.v b/powerpc/ConstpropOpproof.v
index 38daefe4..8687b056 100644
--- a/powerpc/ConstpropOpproof.v
+++ b/powerpc/ConstpropOpproof.v
@@ -101,6 +101,8 @@ Proof.
destruct a; inv H; SimplVM.
- (* integer *)
exists (Vint n); auto.
+- (* long *)
+ destruct (Archi.ppc64); inv H2. exists (Vlong n); auto.
- (* float *)
destruct (generate_float_constants tt); inv H2. exists (Vfloat f); auto.
- (* single *)