--- gforth/Attic/power.h 1995/01/18 18:41:42 1.1 +++ gforth/Attic/power.h 1995/10/07 17:38:18 1.2 @@ -17,17 +17,17 @@ #include "32bit.h" /* cache flush stuff */ -#ifdef DIRECT_THREADED -#warning Direct threading for Power has not been tested - #warning If you get assembly errors, here is the reason why -#define CACHE_FLUSH(addr,size) asm("icbi (%0); isync"::"b"(addr)) +#define FLUSH_ICACHE(addr,size) asm("icbi (%0); isync"::"b"(addr)) /* this assumes size=4 */ /* the mnemonics are for the PPC and the syntax is a wild guess; for Power the mnemonic for the isync instruction is "ics" and I have not found an equivalent for the icbi instruction in my reference. */ +#ifdef DIRECT_THREADED +#warning Direct threading for Power has not been tested + /* PFA gives the parameter field address corresponding to a cfa */ #define PFA(cfa) (((Cell *)cfa)+2) /* PFA1 is a special version for use just after a NEXT1 */