diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-11-23 22:21:23 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-11-23 22:21:23 +0100 |
commit | 1fc9e3b1f4cf32e88888c5277894f5ed1e74f7af (patch) | |
tree | 6b528d814d81aeccf0727469827b1a62fa571371 /powerpc/CSE2deps.v | |
parent | 959c1084902bfc4f07e40aabd7a75038c7a54889 (diff) | |
download | compcert-kvx-1fc9e3b1f4cf32e88888c5277894f5ed1e74f7af.tar.gz compcert-kvx-1fc9e3b1f4cf32e88888c5277894f5ed1e74f7af.zip |
bug #223 fix on PPC
Diffstat (limited to 'powerpc/CSE2deps.v')
-rw-r--r-- | powerpc/CSE2deps.v | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/powerpc/CSE2deps.v b/powerpc/CSE2deps.v index d48dabf3..4592f408 100644 --- a/powerpc/CSE2deps.v +++ b/powerpc/CSE2deps.v @@ -28,5 +28,8 @@ Definition may_overlap chunk addr args chunk' addr' args' := (base :: nil), (base' :: nil) => if peq base base' then negb (can_swap_accesses_ofs (Int.unsigned ofs') chunk' (Int.unsigned ofs) chunk) - else true | _, _, _, _ => true + else true + | (Ainstack ofs), (Ainstack ofs'), _, _ => + negb (can_swap_accesses_ofs (Ptrofs.unsigned ofs') chunk' (Ptrofs.unsigned ofs) chunk) + | _, _, _, _ => true end. |