Mercurial > emacs
diff src/alloc.c @ 101387:b19b16732fb0
(mark_stack): Use "flushw" instead of "ta 3" assembly call for
Sparc64.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Fri, 23 Jan 2009 04:38:18 +0000 |
| parents | e038c1a8307c |
| children | 697627d7beda |
line wrap: on
line diff
--- a/src/alloc.c Fri Jan 23 04:37:58 2009 +0000 +++ b/src/alloc.c Fri Jan 23 04:38:18 2009 +0000 @@ -4488,8 +4488,12 @@ needed on ia64 too. See mach_dep.c, where it also says inline assembler doesn't work with relevant proprietary compilers. */ #ifdef __sparc__ +#ifdef __sparc64__ + asm ("flushw"); +#else asm ("ta 3"); #endif +#endif /* Save registers that we need to see on the stack. We need to see registers used to hold register variables and registers used to
