[Vm-dev] [commit][3737] Revise ARM fp offset from SP - FP is set to point to the saved return address which is 32 vbits beyond the prior SP , thus always +4 bytes offset from the SP alignment

commits at squeakvm.org commits at squeakvm.org
Mon Jun 6 16:47:46 UTC 2016


Revision: 3737
Author:   rowledge
Date:     2016-06-06 09:47:45 -0700 (Mon, 06 Jun 2016)
Log Message:
-----------
Revise ARM fp offset from SP - FP is set to point to the saved return address which is 32 vbits beyond the prior SP, thus always +4 bytes offset from the SP alignment

Modified Paths:
--------------
    branches/Cog/platforms/Cross/vm/sqCogStackAlignment.h

Modified: branches/Cog/platforms/Cross/vm/sqCogStackAlignment.h
===================================================================
--- branches/Cog/platforms/Cross/vm/sqCogStackAlignment.h	2016-06-02 01:08:20 UTC (rev 3736)
+++ branches/Cog/platforms/Cross/vm/sqCogStackAlignment.h	2016-06-06 16:47:45 UTC (rev 3737)
@@ -27,7 +27,7 @@
  * require 8-byte aligned addresses to access doubles in memory.
  */
 # define STACK_ALIGN_BYTES 8
-# define STACK_FP_ALIGNMENT 0
+# define STACK_FP_ALIGNMENT 4
 #endif
 
 #if defined(x86_64) || defined(__amd64) || defined(__x86_64) || defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64) || defined(_M_X64)



More information about the Vm-dev mailing list