Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/include/asm/
H A Dalternative.h67 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ argument
68 b_replacement(num)":\n\t" newinstr "\n" e_replacement(num) ":\n\t"
71 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument
77 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \
103 #define alternative(oldinstr, newinstr, feature) \ argument
104 (asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory"))
H A Dalternative-asm.h29 .macro ALTERNATIVE oldinstr, newinstr, feature
42 \newinstr
/openbmc/linux/arch/x86/include/asm/
H A Dalternative.h206 #define ALTINSTR_REPLACEMENT(newinstr, num) /* replacement */ \ argument
208 b_replacement(num)":\n\t" newinstr "\n" e_replacement(num) ":\n"
211 #define ALTERNATIVE(oldinstr, newinstr, ft_flags) \ argument
217 ALTINSTR_REPLACEMENT(newinstr, 1) \
262 #define alternative(oldinstr, newinstr, ft_flags) \ argument
279 #define alternative_input(oldinstr, newinstr, ft_flags, input...) \ argument
280 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, ft_flags) \
298 #define alternative_io(oldinstr, newinstr, ft_flags, output, input...) \ argument
299 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, ft_flags) \
379 .macro ALTERNATIVE oldinstr, newinstr, ft_flags
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dalternative-macros.h56 #define __ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, cfg_enabled) \ argument
66 newinstr "\n" \
85 #define _ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, cfg, ...) \ argument
86 __ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, IS_ENABLED(cfg))
219 #define ALTERNATIVE(oldinstr, newinstr, ...) \ argument
220 _ALTERNATIVE_CFG(oldinstr, newinstr, __VA_ARGS__, 1)
/openbmc/linux/arch/s390/include/asm/
H A Dalternative-asm.h27 .macro ALTERNATIVE oldinstr, newinstr, feature
29 770: \newinstr
H A Dalternative.h103 #define alternative_input(oldinstr, newinstr, feature, input...) \ argument
104 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \