Lines Matching +full:alternative +full:- +full:b
1 /* SPDX-License-Identifier: GPL-2.0 */
16 .long \orig - .
17 .long \alt - .
24 * Define an alternative between two instructions. If @feature is
29 .macro ALTERNATIVE oldinstr, newinstr, feature
33 .fill - (((144f-143f)-(141b-140b)) > 0) * ((144f-143f)-(141b-140b)) / 4, 4, 0x03400000
37 altinstruction_entry 140b, 143f, \feature, 142b-140b, 144f-143f
47 #define old_len (141b-140b)
48 #define new_len1 (144f-143f)
49 #define new_len2 (145f-144f)
51 #define alt_max_short(a, b) ((a) ^ (((a) ^ (b)) & -(-((a) < (b)))))
54 * Same as ALTERNATIVE macro above but for two alternatives. If CPU
62 .fill - ((alt_max_short(new_len1, new_len2) - (old_len)) > 0) * \
63 (alt_max_short(new_len1, new_len2) - (old_len)) / 4, 4, 0x03400000
67 altinstruction_entry 140b, 143f, \feature1, 142b-140b, 144f-143f, 142b-141b
68 altinstruction_entry 140b, 144f, \feature2, 142b-140b, 145f-144f, 142b-141b