emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 5276c089058 1/2: ; * src/fns.c (Fstring_lessp): Port to RISCs.


From: Po Lu
Subject: master 5276c089058 1/2: ; * src/fns.c (Fstring_lessp): Port to RISCs.
Date: Sat, 1 Apr 2023 02:24:41 -0400 (EDT)

branch: master
commit 5276c0890586b10bdbb749803bc1985bf03d1015
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; * src/fns.c (Fstring_lessp): Port to RISCs.
---
 src/fns.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/fns.c b/src/fns.c
index 94505eda444..90bb3fac178 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -506,7 +506,7 @@ Symbols are also allowed; their print names are used 
instead.  */)
       /* String data is normally allocated with word alignment, but
         there are exceptions (notably pure strings) so we restrict the
         wordwise skipping to safe architectures.  */
-      if (HAVE_FAST_UNALIGNED_ACCESS)
+#ifdef HAVE_FAST_UNALIGNED_ACCESS
        {
          /* First compare entire machine words.  */
          int ws = sizeof (size_t);
@@ -516,6 +516,7 @@ Symbols are also allowed; their print names are used 
instead.  */)
                                    == load_unaligned_size_t (w2 + b))
            b += ws;
        }
+#endif
 
       /* Scan forward to the differing byte.  */
       while (b < nb && SREF (string1, b) == SREF (string2, b))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]