[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src alloc.c
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] emacs/src alloc.c |
Date: |
Fri, 23 Jan 2009 04:38:19 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 09/01/23 04:38:19
Modified files:
src : alloc.c
Log message:
(mark_stack): Use "flushw" instead of "ta 3" assembly call for
Sparc64.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/alloc.c?cvsroot=emacs&r1=1.445&r2=1.446
Patches:
Index: alloc.c
===================================================================
RCS file: /sources/emacs/emacs/src/alloc.c,v
retrieving revision 1.445
retrieving revision 1.446
diff -u -b -r1.445 -r1.446
--- alloc.c 8 Jan 2009 03:15:24 -0000 1.445
+++ alloc.c 23 Jan 2009 04:38:18 -0000 1.446
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/src alloc.c,
Chong Yidong <=