Lines Matching refs:oldinstr
191 #define OLDINSTR(oldinstr) \ argument
193 "771:\n\t" oldinstr "\n772:\n" \
217 #define ALTERNATIVE(oldinstr, newinstr, ft_flags) \ argument
218 OLDINSTR(oldinstr) \
222 #define ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \ argument
223 ALTERNATIVE(ALTERNATIVE(oldinstr, newinstr1, ft_flags1), newinstr2, ft_flags2)
226 #define ALTERNATIVE_TERNARY(oldinstr, ft_flags, newinstr_yes, newinstr_no) \ argument
227 ALTERNATIVE_2(oldinstr, newinstr_no, X86_FEATURE_ALWAYS, newinstr_yes, ft_flags)
229 #define ALTERNATIVE_3(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2, \ argument
231 ALTERNATIVE(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2), \
246 #define alternative(oldinstr, newinstr, ft_flags) \ argument
247 asm_inline volatile(ALTERNATIVE(oldinstr, newinstr, ft_flags) : : : "memory")
249 #define alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \ argument
250 …asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) ::: "memor…
260 #define alternative_input(oldinstr, newinstr, ft_flags, input...) \ argument
261 asm_inline volatile(ALTERNATIVE(oldinstr, newinstr, ft_flags) \
265 #define alternative_io(oldinstr, newinstr, ft_flags, output, input...) \ argument
266 asm_inline volatile(ALTERNATIVE(oldinstr, newinstr, ft_flags) \
375 .macro ALTERNATIVE oldinstr, newinstr, ft_flags
376 __ALTERNATIVE(\oldinstr, \newinstr, \ft_flags)
384 .macro ALTERNATIVE_2 oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2
385 __ALTERNATIVE(__ALTERNATIVE(\oldinstr, \newinstr1, \ft_flags1),
389 .macro ALTERNATIVE_3 oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2, newinstr3, ft_flags3
390 __ALTERNATIVE(ALTERNATIVE_2(\oldinstr, \newinstr1, \ft_flags1, \newinstr2, \ft_flags2),
395 #define ALTERNATIVE_TERNARY(oldinstr, ft_flags, newinstr_yes, newinstr_no) \ argument
396 ALTERNATIVE_2 oldinstr, newinstr_no, X86_FEATURE_ALWAYS, \