]> git.eshelyaron.com Git - emacs.git/commit
Restrict string-lessp vectorisation to safe architectures
authorMattias Engdegård <mattiase@acm.org>
Sat, 8 Oct 2022 13:25:50 +0000 (15:25 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sat, 8 Oct 2022 16:48:30 +0000 (18:48 +0200)
commite4769b20f166aeb78d66d1ac1db4628f72683372
tree410b310f1b11808212b16d040b25f7343398507e
parent9af63d2e8be06dec7a2f90bfe112cbc1397f7942
Restrict string-lessp vectorisation to safe architectures

* src/fns.c (HAVE_FAST_UNALIGNED_ACCESS): New.
(Fstring_lessp): Only use word operations where safe, because string
data from purespace may be unaligned.
src/fns.c