aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Linear.v
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2021-06-18 18:35:50 +0200
committerCyril SIX <cyril.six@kalray.eu>2021-06-18 18:35:50 +0200
commit5798f56b8a8630e43dbed84a824811a5626a1503 (patch)
treebee034c6b707a83a4e3e969650c2e2fc6ccb6358 /backend/Linear.v
parent04b2489d7c2a9b0d203b3d431517367a07bd6b30 (diff)
downloadcompcert-kvx-5798f56b8a8630e43dbed84a824811a5626a1503.tar.gz
compcert-kvx-5798f56b8a8630e43dbed84a824811a5626a1503.zip
Replacing default notrap load value by Vundef everywherecsix-PhD
Diffstat (limited to 'backend/Linear.v')
-rw-r--r--backend/Linear.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/Linear.v b/backend/Linear.v
index 1443f795..cb11f7dc 100644
--- a/backend/Linear.v
+++ b/backend/Linear.v
@@ -170,7 +170,7 @@ Inductive step: state -> trace -> state -> Prop :=
forall s f sp chunk addr args dst b rs m rs',
eval_addressing ge sp addr (reglist rs args) = None ->
rs' = Locmap.set (R dst)
- (default_notrap_load_value chunk)
+ Vundef
(undef_regs (destroyed_by_load chunk addr) rs) ->
step (State s f sp (Lload NOTRAP chunk addr args dst :: b) rs m)
E0 (State s f sp b rs' m)
@@ -179,7 +179,7 @@ Inductive step: state -> trace -> state -> Prop :=
eval_addressing ge sp addr (reglist rs args) = Some a ->
Mem.loadv chunk m a = None ->
rs' = Locmap.set (R dst)
- (default_notrap_load_value chunk)
+ Vundef
(undef_regs (destroyed_by_load chunk addr) rs) ->
step (State s f sp (Lload NOTRAP chunk addr args dst :: b) rs m)
E0 (State s f sp b rs' m)