1 static inline int __static_cpu_has(unsigned char bit
)
3 asm goto("1: jmp %l[t_no]\n"
5 ".section .altinstructions,\"a\"\n"
8 "0\n" /* no replacement */
9 " .byte %P0\n" /* feature bit */
10 " .byte 2b - 1b\n" /* source len */
11 " .byte 0\n" /* replacement len */
12 " .byte 0xff + 0 - (2b-1b)\n" /* padding */
14 : : "i" (bit
) : : t_no
, ble
);
20 * check-name: Asm with goto labels.