Lines Matching +full:lsb +full:- +full:first

4  * Copyright (c) 2012-2022, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
18 STRCMP_NO_PRECHECK: Don't run a quick pre-check of the first
20 the pre-check will save time, since there is a very high
21 probability of a mismatch in the first character: we save
30 Leaf functions cannot throw exceptions - EHABI only supports
34 /* This version uses Thumb-2 code. */
43 #define LSB 0xff000000 macro
57 #define LSB 0x000000ff macro
70 /* Additional internal variables for 64-bit aligned data. */
78 /* Additional internal variables for 32-bit aligned data. */
84 /* Macro to compute and return the result value for word-aligned
90 syndrome will highlight the first different bit. It is therefore
106 .cfi_adjust_cfa_offset -16
110 /* To use the big-endian trick we'd have to reverse all three words.
128 .cfi_adjust_cfa_offset -16
145 strd r4, r5, [sp, #-16]!
168 lsl tmp2, tmp2, #3 /* Bytes -> bits. */
201 ldrd data1a, data1b, [src1, #-8]
202 ldrd data2a, data2b, [src2, #-8]
230 /* Unrolled by a factor of 2, to reduce the number of post-increment
240 ldr data1, [src1, #-4]
241 ldr data2, [src2, #-4]
255 lsl tmp1, tmp1, #3 /* Bytes -> bits. */
300 /* If we've done the pre-check, then we don't need to check the
301 first byte again here. */
321 .cfi_adjust_cfa_offset -16
371 fast-path the exit. */
380 .cfi_adjust_cfa_offset -16
386 and data2, data2, #LSB
424 and tmp1, data1, #LSB
440 tst syndrome, #LSB
457 .cfi_adjust_cfa_offset -16
465 /* Now everything looks big-endian... */
480 .cfi_adjust_cfa_offset -16