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

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

[Dotgnu-pnet-commits] CVS: pnet/support clflush.c,1.2,1.3


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/support clflush.c,1.2,1.3
Date: Sat, 09 Aug 2003 22:12:00 -0400

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv31673/support

Modified Files:
        clflush.c 
Log Message:


Initial version of the ia64 unroller.


Index: clflush.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/clflush.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** clflush.c   1 May 2003 04:01:39 -0000       1.2
--- clflush.c   10 Aug 2003 02:11:58 -0000      1.3
***************
*** 88,91 ****
--- 88,99 ----
                                          : "r0", "r1", "r3" );
  
+ #elif (defined(__ia64) || defined(__ia64__)) && defined(linux)
+       void *end = (char*)buf + length;
+       while(buf < end)
+       {
+               asm volatile("fc %0" :: "r"(buf));
+               buf = (char*)buf + 32;
+       }
+       asm volatile(";;sync.i;;srlz.i;;");
  #endif
  #endif /* IL_HAVE_CACHE_FLUSH */





reply via email to

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