Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CertiCompil
CompCert-KVX
Commits
d2c5701f
Commit
d2c5701f
authored
Feb 12, 2018
by
Bernhard Schommer
Committed by
Xavier Leroy
Feb 12, 2018
Browse files
Switching the cases seems to work on x86_32
parent
26a4436b
Changes
1
Hide whitespace changes
Inline
Side-by-side
x86/Asmgenproof1.v
View file @
d2c5701f
...
...
@@ -498,8 +498,8 @@ Proof.
intros
;
destruct
am
as
[
base
ofs
[
n
|
[
id
delta
]]];
simpl
.
-
destruct
(
offset_in_range
n
);
auto
;
simpl
.
rewrite
!
Val
.
addl_assoc
.
apply
f_equal
.
apply
f_equal
.
simpl
.
rewrite
Int64
.
add_zero_l
;
auto
.
-
destruct
(
ptroffset_in_range
delta
);
auto
.
destruct
Archi
.
ptr64
eqn
:
SF
;
auto
;
simpl
.
-
destruct
Archi
.
ptr64
eqn
:
SF
;
auto
;
simpl
;
destruct
(
ptroffset_in_range
delta
)
;
auto
.
simpl
.
rewrite
!
Val
.
addl_assoc
.
apply
f_equal
.
apply
f_equal
.
rewrite
<-
Genv
.
shift_symbol_address_64
by
auto
.
f_equal
.
rewrite
Ptrofs
.
add_zero_l
,
Ptrofs
.
of_int64_to_int64
by
auto
.
auto
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment