Home
last modified time | relevance | path

Searched refs:oldinstr (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/arch/x86/include/asm/
Dalternative.h163 #define OLDINSTR(oldinstr) \ argument
165 "771:\n\t" oldinstr "\n772:\n" \
187 #define ALTERNATIVE(oldinstr, newinstr, ft_flags) \ argument
188 OLDINSTR(oldinstr) \
192 #define ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \ argument
193 ALTERNATIVE(ALTERNATIVE(oldinstr, newinstr1, ft_flags1), newinstr2, ft_flags2)
196 #define ALTERNATIVE_TERNARY(oldinstr, ft_flags, newinstr_yes, newinstr_no) \ argument
197 ALTERNATIVE_2(oldinstr, newinstr_no, X86_FEATURE_ALWAYS, newinstr_yes, ft_flags)
199 #define ALTERNATIVE_3(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2, \ argument
201 ALTERNATIVE(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2), \
[all …]
/linux-6.12.1/arch/loongarch/include/asm/
Dalternative.h38 #define __OLDINSTR(oldinstr, num) \ argument
39 "661:\n\t" oldinstr "\n662:\n" \
43 #define OLDINSTR(oldinstr, num) \ argument
44 __OLDINSTR(oldinstr, num) \
53 #define OLDINSTR_2(oldinstr, num1, num2) \ argument
54 "661:\n\t" oldinstr "\n662:\n" \
71 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument
72 OLDINSTR(oldinstr, 1) \
80 #define ALTERNATIVE_2(oldinstr, newinstr1, feature1, newinstr2, feature2)\ argument
81 OLDINSTR_2(oldinstr, 1, 2) \
[all …]
Dalternative-asm.h29 .macro ALTERNATIVE oldinstr, newinstr, feature
31 \oldinstr
58 .macro ALTERNATIVE_2 oldinstr, newinstr1, feature1, newinstr2, feature2
60 \oldinstr
/linux-6.12.1/arch/s390/include/asm/
Dalternative.h114 #define OLDINSTR(oldinstr) \ argument
115 "661:\n\t" oldinstr "\n662:\n"
130 #define ALTERNATIVE(oldinstr, altinstr, feature) \ argument
134 OLDINSTR(oldinstr) \
139 #define ALTERNATIVE_2(oldinstr, altinstr1, feature1, altinstr2, feature2)\ argument
144 OLDINSTR(oldinstr) \
162 #define alternative(oldinstr, altinstr, feature) \ argument
163 asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, feature) : : : "memory")
165 #define alternative_2(oldinstr, altinstr1, feature1, altinstr2, feature2) \ argument
166 asm_inline volatile(ALTERNATIVE_2(oldinstr, altinstr1, feature1, \
[all …]
/linux-6.12.1/arch/arm64/include/asm/
Dalternative-macros.h56 #define __ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, cfg_enabled) \ argument
59 oldinstr "\n" \
73 #define __ALTERNATIVE_CFG_CB(oldinstr, cpucap, cfg_enabled, cb) \ argument
76 oldinstr "\n" \
85 #define _ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, cfg, ...) \ argument
86 __ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, IS_ENABLED(cfg))
88 #define ALTERNATIVE_CB(oldinstr, cpucap, cb) \ argument
89 __ALTERNATIVE_CFG_CB(oldinstr, (1 << ARM64_CB_SHIFT) | (cpucap), 1, cb)
219 #define ALTERNATIVE(oldinstr, newinstr, ...) \ argument
220 _ALTERNATIVE_CFG(oldinstr, newinstr, __VA_ARGS__, 1)
/linux-6.12.1/tools/include/asm/
Dalternative.h7 .macro ALTERNATIVE oldinstr, newinstr, feature
8 \oldinstr