From 7873af34a9520ee5a8a6f10faddf3255a4ff02b2 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Wed, 3 May 2017 11:18:32 +0200 Subject: Hybrid 64bit/32bit PowerPC port This commit adds code generation for 64bit PowerPC architectures which execute 32bit applications. The main difference to the normal 32bit PowerPC port is that it uses the available 64bit instructions instead of using the runtime library functions. However pointers are still 32bit and the 32bit calling convention is used. In order to use this port the target architecture must be either in Server execution mode or if in Embedded execution mode the high order 32 bits of GPRs must be implemented in 32-bit mode. Furthermore the operating system must preserve the high order 32 bits of GPRs. --- arm/Stacklayout.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'arm/Stacklayout.v') diff --git a/arm/Stacklayout.v b/arm/Stacklayout.v index f5c07fff..c867ba59 100644 --- a/arm/Stacklayout.v +++ b/arm/Stacklayout.v @@ -86,16 +86,16 @@ Local Opaque Z.add Z.mul sepconj range. retaddr back link *) rewrite sep_swap12. - rewrite sep_swap45. + rewrite sep_swap45. rewrite sep_swap34. rewrite sep_swap45. (* Apply range_split and range_split2 repeatedly *) unfold fe_ofs_arg. apply range_split_2. fold ol; omega. omega. - apply range_split. omega. + apply range_split. omega. apply range_split_2. fold ora; omega. omega. apply range_split. omega. - apply range_drop_right with ostkdata. omega. + apply range_drop_right with ostkdata. omega. eapply sep_drop2. eexact H. Qed. -- cgit