[gforth] / gforth / Attic / sparc.h  

gforth: gforth/Attic/sparc.h

Diff for /gforth/Attic/sparc.h between version 1.9 and 1.10

version 1.9, Tue Jan 10 18:46:05 1995 UTC version 1.10, Wed Jan 18 18:41:44 1995 UTC
Line 17 
Line 17 
   
 #ifdef DIRECT_THREADED  #ifdef DIRECT_THREADED
 #ifndef WORDS_BIGENDIAN  #ifndef WORDS_BIGENDIAN
 #error Direct threading only supported for big-endian machines.  #error Direct threading only supported for big-endian SPARCs.
 /* little endian SPARCs still store instructions in big-endian format,  /* little endian SPARCs still store instructions in big-endian format,
    so you would have to reverse the instructions stores in the following     so you would have to reverse the instructions stores in the following
 */  */
 #endif  #endif
   
 /* according to the SPARC V9 architecture manual, we have to use flush,  
    but as V2.20 does not recognize the opcode */  
 /* assuming size = 8 */  /* assuming size = 8 */
 #define CACHE_FLUSH(addr,size) \  #define CACHE_FLUSH(addr,size) \
   asm("iflush %0; iflush %0+4"::"r"(addr))    asm("iflush %0; iflush %0+4"::"r"(addr))


Generate output suitable for use with a patch program
Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help