diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-03-03 12:27:58 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-03-03 12:27:58 +0100 |
commit | 74efac13484e4767f793cf9ccc94835825ca30ba (patch) | |
tree | a85e79bdd8949ccd1a7bb4f88a46c77ed3add713 /common | |
parent | 577d3dbeb54aaf23db19dddf149c48764e20c58d (diff) | |
download | compcert-kvx-74efac13484e4767f793cf9ccc94835825ca30ba.tar.gz compcert-kvx-74efac13484e4767f793cf9ccc94835825ca30ba.zip |
CSE2 alias analysis for Risc-V
Diffstat (limited to 'common')
-rw-r--r-- | common/Memdata.v | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/Memdata.v b/common/Memdata.v index f3016efe..a09b90f5 100644 --- a/common/Memdata.v +++ b/common/Memdata.v @@ -44,6 +44,13 @@ Definition size_chunk (chunk: memory_chunk) : Z := | Many64 => 8 end. +Definition largest_size_chunk := 8. + +Lemma max_size_chunk: forall chunk, size_chunk chunk <= 8. +Proof. + destruct chunk; simpl; omega. +Qed. + Lemma size_chunk_pos: forall chunk, size_chunk chunk > 0. Proof. |