diff options
| author | Po Lu | 2023-04-01 14:23:32 +0800 |
|---|---|---|
| committer | Po Lu | 2023-04-01 14:23:52 +0800 |
| commit | 5276c0890586b10bdbb749803bc1985bf03d1015 (patch) | |
| tree | ffbb04a10a30c19de990090c5d81691a5514c9c0 /src | |
| parent | 204b652493d88cfcef70095fb9adf930554b283f (diff) | |
| download | emacs-5276c0890586b10bdbb749803bc1985bf03d1015.tar.gz emacs-5276c0890586b10bdbb749803bc1985bf03d1015.zip | |
; * src/fns.c (Fstring_lessp): Port to RISCs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -506,7 +506,7 @@ Symbols are also allowed; their print names are used instead. */) | |||
| 506 | /* String data is normally allocated with word alignment, but | 506 | /* String data is normally allocated with word alignment, but |
| 507 | there are exceptions (notably pure strings) so we restrict the | 507 | there are exceptions (notably pure strings) so we restrict the |
| 508 | wordwise skipping to safe architectures. */ | 508 | wordwise skipping to safe architectures. */ |
| 509 | if (HAVE_FAST_UNALIGNED_ACCESS) | 509 | #ifdef HAVE_FAST_UNALIGNED_ACCESS |
| 510 | { | 510 | { |
| 511 | /* First compare entire machine words. */ | 511 | /* First compare entire machine words. */ |
| 512 | int ws = sizeof (size_t); | 512 | int ws = sizeof (size_t); |
| @@ -516,6 +516,7 @@ Symbols are also allowed; their print names are used instead. */) | |||
| 516 | == load_unaligned_size_t (w2 + b)) | 516 | == load_unaligned_size_t (w2 + b)) |
| 517 | b += ws; | 517 | b += ws; |
| 518 | } | 518 | } |
| 519 | #endif | ||
| 519 | 520 | ||
| 520 | /* Scan forward to the differing byte. */ | 521 | /* Scan forward to the differing byte. */ |
| 521 | while (b < nb && SREF (string1, b) == SREF (string2, b)) | 522 | while (b < nb && SREF (string1, b) == SREF (string2, b)) |