aboutsummaryrefslogtreecommitdiffstats
path: root/powerpc/ConstpropOpproof.v
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-11-17 14:36:18 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-11-17 14:36:18 +0000
commitc29871c2d5c7860c6c6c53e8d5c8a9fe434742d2 (patch)
tree9e002b414d3fb3a899deb43f9f6e14d02507121a /powerpc/ConstpropOpproof.v
parent26bb5772c75efe1e4617fb9c4f2b8522989fac6d (diff)
downloadcompcert-kvx-c29871c2d5c7860c6c6c53e8d5c8a9fe434742d2.tar.gz
compcert-kvx-c29871c2d5c7860c6c6c53e8d5c8a9fe434742d2.zip
powerpc/: new unary operation "addsymbol"
Support far-data addressing in sections. (Currently ignored in checklink.) git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2368 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/ConstpropOpproof.v')
-rw-r--r--powerpc/ConstpropOpproof.v2
1 files changed, 2 insertions, 0 deletions
diff --git a/powerpc/ConstpropOpproof.v b/powerpc/ConstpropOpproof.v
index b7fad699..2aba9c2c 100644
--- a/powerpc/ConstpropOpproof.v
+++ b/powerpc/ConstpropOpproof.v
@@ -138,6 +138,8 @@ Proof.
rewrite Val.add_assoc; auto.
+ rewrite shift_symbol_address; auto.
+
unfold symbol_address. destruct (Genv.find_symbol ge s1); auto.
rewrite Val.sub_add_opp. rewrite Val.add_assoc. simpl. rewrite Int.sub_add_opp. auto.