aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorChong Yidong2009-01-23 04:38:18 +0000
committerChong Yidong2009-01-23 04:38:18 +0000
commit4c1616bee482b2921251c1ee00fc00a4c38e7cb5 (patch)
tree8eb04ba79683d0efb446b53cbde2cae6b73147df /src/alloc.c
parent3ac71f5da0335f4ed4c7d4bcc8d1dbab37ab316b (diff)
downloademacs-4c1616bee482b2921251c1ee00fc00a4c38e7cb5.tar.gz
emacs-4c1616bee482b2921251c1ee00fc00a4c38e7cb5.zip
(mark_stack): Use "flushw" instead of "ta 3" assembly call for
Sparc64.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 90c743a5d38..1be5e2b8f1d 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4488,8 +4488,12 @@ mark_stack ()
4488 needed on ia64 too. See mach_dep.c, where it also says inline 4488 needed on ia64 too. See mach_dep.c, where it also says inline
4489 assembler doesn't work with relevant proprietary compilers. */ 4489 assembler doesn't work with relevant proprietary compilers. */
4490#ifdef __sparc__ 4490#ifdef __sparc__
4491#ifdef __sparc64__
4492 asm ("flushw");
4493#else
4491 asm ("ta 3"); 4494 asm ("ta 3");
4492#endif 4495#endif
4496#endif
4493 4497
4494 /* Save registers that we need to see on the stack. We need to see 4498 /* Save registers that we need to see on the stack. We need to see
4495 registers used to hold register variables and registers used to 4499 registers used to hold register variables and registers used to