aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert2011-11-19 19:19:22 -0800
committerPaul Eggert2011-11-19 19:19:22 -0800
commit17e845af732cf7bd0ada49375f014e10deb3d06a (patch)
treedc030088b9f8b008e269028267737d6ba62dcc99 /src/ChangeLog
parente1dbe924b53c541fdf238a5a722b7177d5c8760b (diff)
parent615a3b8d0d2c88cd664f1e0beb5a32b5b8e08f90 (diff)
downloademacs-17e845af732cf7bd0ada49375f014e10deb3d06a.tar.gz
emacs-17e845af732cf7bd0ada49375f014e10deb3d06a.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. Fixes: debbugs:10042
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2973ecc4b57..7accd0d5eea 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,23 @@
12011-11-20 Paul Eggert <eggert@cs.ucla.edu>
2
3 Standardize on VIRT_ADDR_VARIES behavior (Bug#10042).
4 Otherwise, valgrind does not work on some platforms.
5 Problem reported by Andreas Schwab in
6 <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00081.html>.
7 * puresize.h (pure, PURE_P): Always behave as if VIRT_ADDR_VARIES
8 is set, removing the need for VIRT_ADDRESS_VARIES.
9 (PURE_P): Use a more-efficient implementation that needs just one
10 comparison, not two: on x86-64 with GCC 4.6.2, this cut down the
11 number of instructions from 6 (xorl, cmpq, jge, xorl, cmpq, setge)
12 to 4 (xorl, subq, cmpq, setbe).
13 * alloc.c (pure): Always extern now, since that's the
14 VIRT_ADDR_VARIES behavior.
15 (PURE_POINTER_P): Use a single comparison, not two, for
16 consistency with the new puresize.h.
17 * lisp.h (PNTR_COMPARISON_TYPE): Remove; no longer needed.
18 * m/ibms390.h, m/intel386.h, m/template.h, s/cygwin.h, s/hpux10-20.h:
19 Remove VIRT_ADDR_VARIES no longer needed.
20
12011-11-19 Eli Zaretskii <eliz@gnu.org> 212011-11-19 Eli Zaretskii <eliz@gnu.org>
2 22
3 * xdisp.c (x_write_glyphs, draw_phys_cursor_glyph) 23 * xdisp.c (x_write_glyphs, draw_phys_cursor_glyph)