]> git.eshelyaron.com Git - emacs.git/commit
Use __builtin_assume_aligned on untagged Lisp vals
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jun 2016 22:41:51 +0000 (15:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jun 2016 22:44:15 +0000 (15:44 -0700)
commit302185156b6c20df5400a9956c09d6c24d29f652
tree7d8e87dd55aaec9df6775bb0cc903cfba72cfed9
parent8ea5d990f6315917bbd9c7b94856c52137405dad
Use __builtin_assume_aligned on untagged Lisp vals

* src/conf_post.h (__has_builtin, __builtin_assume_aligned):
New macros, for compilers not already defining them.
(__has_builtin___builtin_assume_aligned): New macro.
* src/lisp.h (lisp_h_XUNTAG): Use __builtin_assume_aligned.
This shrinks text space by 0.2% on x86-64 with GCC 6.1.
src/conf_post.h
src/lisp.h