]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/fns.c (HAVE_FAST_UNALIGNED_ACCESS): run faster on mainframes
authorMattias Engdegård <mattiase@acm.org>
Tue, 11 Oct 2022 09:10:46 +0000 (11:10 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 11 Oct 2022 11:44:23 +0000 (13:44 +0200)
src/fns.c

index 5eab35a5646004669c7cb1c0af4228049b0832d8..40557923827a0012768e41dbf70468ce12cb6c62 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -442,7 +442,8 @@ If string STR1 is greater, the value is a positive number N;
     || defined __i386__ || defined __i386      \
     || defined __arm64__ || defined __aarch64__        \
     || defined __powerpc__ || defined __powerpc        \
-    || defined __ppc__ || defined __ppc
+    || defined __ppc__ || defined __ppc                \
+    || defined __s390__ || defined __s390x__
 #define HAVE_FAST_UNALIGNED_ACCESS 1
 #else
 #define HAVE_FAST_UNALIGNED_ACCESS 0