dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and to


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. ace55526e68658caf8c8fe4c0c471772af98c628
Date: Sat, 25 Dec 2010 16:41:58 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET engine, compilers and tools (pnet)".

The branch, master has been updated
       via  ace55526e68658caf8c8fe4c0c471772af98c628 (commit)
      from  6db9371feaa6b6fa8553ab6bd5999558244667ea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/pnet.git/commit/?id=ace55526e68658caf8c8fe4c0c471772af98c628

commit ace55526e68658caf8c8fe4c0c471772af98c628
Author: Klaus Treichel <address@hidden>
Date:   Sat Dec 25 17:41:32 2010 +0100

    Add the vmbreak barrier for x86 and remove the volatile from the
    configuration of the volatile cvm interpreter variables too.

diff --git a/ChangeLog b/ChangeLog
index 67367c6..345f4dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,7 +8,7 @@
        * engine/cvm.c: Move configuration of interpreter loop variables to
        cvm_config.h
        Remove the volatile from the volatile interpreter variable configuration
-       for gcc 4.x and x86_64 because they are not needed anymore.
+       for gcc 4.x and x86_64 and x86 because they are not needed anymore.
        (_ILCVMInterpreter): Prepend a CVM_ to the configurable register
        variables.      
 
diff --git a/engine/cvm.c b/engine/cvm.c
index 68358f4..6793678 100644
--- a/engine/cvm.c
+++ b/engine/cvm.c
@@ -102,14 +102,14 @@ extern    "C" {
  */
 #if defined(__GNUC__) && !defined(IL_VMCASE_BARRIER)
 #if (__GNUC__ == 4) && defined(CVM_X86)
-#define IL_PC_VOLATILE volatile
-#define IL_STACKTOP_VOLATILE volatile
-#define IL_FRAME_VOLATILE volatile
-#define IL_STACKMAX_VOLATILE volatile
-#define IL_METHOD_VOLATILE volatile
-#define IL_METHODTOCALL_VOLATILE volatile
-#define IL_CALLFRAME_VOLATILE volatile
-#define IL_TEMPPTR_VOLATILE volatile
+#define IL_PC_VOLATILE
+#define IL_STACKTOP_VOLATILE
+#define IL_FRAME_VOLATILE
+#define IL_STACKMAX_VOLATILE
+#define IL_METHOD_VOLATILE
+#define IL_METHODTOCALL_VOLATILE
+#define IL_CALLFRAME_VOLATILE
+#define IL_TEMPPTR_VOLATILE
 #endif
 #if (__GNUC__ == 4) && defined(CVM_X86_64)
 #define IL_PC_VOLATILE
diff --git a/engine/cvm_config.h b/engine/cvm_config.h
index 3097c5e..58a38d9 100644
--- a/engine/cvm_config.h
+++ b/engine/cvm_config.h
@@ -264,6 +264,10 @@ extern int _ILCVMInsnCount[];
        #define CVM_REGISTER_ASM_PC(x)                  register x asm ("esi")
        #define CVM_REGISTER_ASM_STACK(x)               register x asm ("edi")
        #define CVM_REGISTER_ASM_FRAME(x)               register x asm ("ebx")
+#if defined(IL_CVM_DIRECT_UNROLLED)
+       #define CVM_VMBREAK_BARRIER()   \
+               __asm__ __volatile__ ("" : : : "eax", "ecx", "edx", "memory")
+#endif
 #elif defined(CVM_X86_64) && defined(__GNUC__) && !defined(IL_NO_ASM)
 
        #define CVM_REGISTER_ASM_X86_64 1

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |    2 +-
 engine/cvm.c        |   16 ++++++++--------
 engine/cvm_config.h |    4 ++++
 3 files changed, 13 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
DotGNU Portable.NET engine, compilers and tools (pnet)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]