[Top][All Lists]
[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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/support clflush.c,1.2,1.3,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnet/engine md_ia64.c, NONE, 1.1 md_ia64.h, NONE, 1.1 md_ia64_macros.h, NONE, 1.1 Makefile.am, 1.64, 1.65 cvm.c, 1.45, 1.46 cvm_config.h, 1.9, 1.10 cvmc_setup.c, 1.36, 1.37 unroll.c, 1.8, 1.9 unroll_arith.c, 1.3, 1.4
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/doc unrolling.txt,1.4,1.5
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnet/engine md_ia64.c, NONE, 1.1 md_ia64.h, NONE, 1.1 md_ia64_macros.h, NONE, 1.1 Makefile.am, 1.64, 1.65 cvm.c, 1.45, 1.46 cvm_config.h, 1.9, 1.10 cvmc_setup.c, 1.36, 1.37 unroll.c, 1.8, 1.9 unroll_arith.c, 1.3, 1.4
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/doc unrolling.txt,1.4,1.5
- Index(es):