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. e288c014fa5805212ea5ebf53e46d85084bc6de4
Date: Sun, 26 Dec 2010 18:06:47 +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  e288c014fa5805212ea5ebf53e46d85084bc6de4 (commit)
      from  f51ee6be1cf18539da1d3ef3311b34e9bf1490b9 (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=e288c014fa5805212ea5ebf53e46d85084bc6de4

commit e288c014fa5805212ea5ebf53e46d85084bc6de4
Author: Klaus Treichel <address@hidden>
Date:   Sun Dec 26 19:06:20 2010 +0100

    Add the vmbreak barrier for ppc and remove the volatiles in the
    cvm interpreter.

diff --git a/ChangeLog b/ChangeLog
index 288a6a9..1533670 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,10 @@
 2010-12-26  Klaus Treichel  <address@hidden>
 
-       * engine/cvm_config.h: Add the vmbreak barrier definition for arm.
+       * engine/cvm_config.h: Add the vmbreak barrier definitions for arm
+       and ppc.
 
        * engine/cvm.c: Remove the volatile from the volatile interpreter
-       variable configuration for gcc 4.x and arm.
+       variable configuration for gcc 4.x and arm and ppc.
 
 2010-12-25  Klaus Treichel  <address@hidden>
 
diff --git a/engine/cvm.c b/engine/cvm.c
index fb669f6..6a2131d 100644
--- a/engine/cvm.c
+++ b/engine/cvm.c
@@ -132,14 +132,14 @@ extern    "C" {
 #define IL_TEMPPTR_VOLATILE
 #endif
 #if (__GNUC__ == 4) && defined(CVM_PPC)
-#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
 #endif
 #ifndef IL_PC_VOLATILE
diff --git a/engine/cvm_config.h b/engine/cvm_config.h
index d518812..074d2de 100644
--- a/engine/cvm_config.h
+++ b/engine/cvm_config.h
@@ -298,6 +298,10 @@ extern int _ILCVMInsnCount[];
        #define CVM_REGISTER_ASM_PC(x)                  register x asm ("r18")
        #define CVM_REGISTER_ASM_STACK(x)               register x asm ("r19")
        #define CVM_REGISTER_ASM_FRAME(x)               register x asm ("r20")
+#if defined(IL_CVM_DIRECT_UNROLLED)
+       #define CVM_VMBREAK_BARRIER()   \
+               __asm__ __volatile__ ("" : : : "r3", "r4", "r5", "r6", "r7", 
"r8", "r9", "r10", "r11", "r12", "memory")
+#endif
 #elif defined(CVM_IA64) && defined(__GNUC__) && !defined(IL_NO_ASM)
 
        #define CVM_REGISTER_ASM_IA64 1

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

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


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



reply via email to

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