aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-11-10 00:14:27 -0800
committerPaul Eggert2011-11-10 00:14:27 -0800
commit6a0bf43d7c5961297aa5024aec534e5bab73c8af (patch)
treeb823825dae7da76be667a0ddb157bff2bd029ac7 /src/ChangeLog
parent9a4de110224cc0ea32a9c680db3f4355484236a6 (diff)
downloademacs-6a0bf43d7c5961297aa5024aec534e5bab73c8af.tar.gz
emacs-6a0bf43d7c5961297aa5024aec534e5bab73c8af.zip
Standardize on VIRT_ADDR_VARIES behavior; otherwise, valgrind
does not work on some platforms. Problem reported by Andreas Schwab in <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00081.html>. * puresize.h (pure, PURE_P): Always behave as if VIRT_ADDR_VARIES is set, removing the need for VIRT_ADDRESS_VARIES. (PURE_P): Use a more-efficient implementation that needs just one comparison, not two: on x86-64 with GCC 4.6.2, this cut down the number of instructions from 6 (xorl, cmpq, jge, xorl, cmpq, setge) to 4 (xorl, subq, cmpq, setbe). * alloc.c (pure): Always extern now, since that's the VIRT_ADDR_VARIES behavior. (PURE_POINTER_P): Use a single comparison, not two, for consistency with the new puresize.h. * lisp.h (PNTR_COMPARISON_TYPE): Remove; no longer needed. * m/ibms390.h, m/intel386.h, m/template.h, s/cygwin.h, s/hpux10-20.h: Remove VIRT_ADDR_VARIES no longer needed.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b14d6752bb9..4e56e3c8499 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,22 @@
12011-11-10 Paul Eggert <eggert@cs.ucla.edu>
2
3 Standardize on VIRT_ADDR_VARIES behavior; otherwise, valgrind
4 does not work on some platforms. Problem reported by Andreas Schwab in
5 <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00081.html>.
6 * puresize.h (pure, PURE_P): Always behave as if VIRT_ADDR_VARIES
7 is set, removing the need for VIRT_ADDRESS_VARIES.
8 (PURE_P): Use a more-efficient implementation that needs just one
9 comparison, not two: on x86-64 with GCC 4.6.2, this cut down the
10 number of instructions from 6 (xorl, cmpq, jge, xorl, cmpq, setge)
11 to 4 (xorl, subq, cmpq, setbe).
12 * alloc.c (pure): Always extern now, since that's the
13 VIRT_ADDR_VARIES behavior.
14 (PURE_POINTER_P): Use a single comparison, not two, for
15 consistency with the new puresize.h.
16 * lisp.h (PNTR_COMPARISON_TYPE): Remove; no longer needed.
17 * m/ibms390.h, m/intel386.h, m/template.h, s/cygwin.h, s/hpux10-20.h:
18 Remove VIRT_ADDR_VARIES no longer needed.
19
12011-11-09 Chong Yidong <cyd@gnu.org> 202011-11-09 Chong Yidong <cyd@gnu.org>
2 21
3 * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges) 22 * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges)