aboutsummaryrefslogtreecommitdiffstats
path: root/aarch64/Asmblock.v
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2020-12-20 14:33:44 +0100
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2020-12-20 14:33:44 +0100
commita23b977c5e100c1fd24d47d99b7e860c0bcf64ae (patch)
treedc555a7401a74790f629aae02bb919834e1faf94 /aarch64/Asmblock.v
parenta71ed69400fbd8f6533a32c117e7063f6b083049 (diff)
parent373ad4a6efcb6cd0ecd30e7c131640b9783f1269 (diff)
downloadcompcert-kvx-a23b977c5e100c1fd24d47d99b7e860c0bcf64ae.tar.gz
compcert-kvx-a23b977c5e100c1fd24d47d99b7e860c0bcf64ae.zip
Merge branch 'aarch64-peephole-tofix' into aarch64-peephole
Diffstat (limited to 'aarch64/Asmblock.v')
-rw-r--r--aarch64/Asmblock.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/aarch64/Asmblock.v b/aarch64/Asmblock.v
index a4decae7..58817776 100644
--- a/aarch64/Asmblock.v
+++ b/aarch64/Asmblock.v
@@ -640,7 +640,7 @@ Definition exec_cfi (f: function) (cfi: cf_instruction) (rs: regset) (m: mem) :
match (rs#X16 <- Vundef)#r with
| Vint n =>
SOME lbl <- list_nth_z tbl (Int.unsigned n) IN
- goto_label f lbl (rs#X16 <- Vundef #X17 <- Vundef) m
+ goto_label f lbl (rs#X16 <- Vundef) m
| _ => Stuck
end
end.
@@ -951,7 +951,7 @@ Inductive exec_exit (f: function) size_b (rs: regset) (m: mem): (option control)
external_call ef ge vargs m t vres m' ->
rs' = incrPC size_b
(set_res (map_builtin_res DR res) vres
- (undef_regs (map preg_of (destroyed_by_builtin ef)) rs)) ->
+ (undef_regs (DR (IR X16) :: DR (IR X30) :: map preg_of (destroyed_by_builtin ef)) rs)) ->
exec_exit f size_b rs m (Some (Pbuiltin ef args res)) t rs' m'
.