1 __attribute__ ((always_inline)) __attribute__ ((pure))
2 int cpu_has(unsigned short bit)
4 asm goto ("1: jmp %l[t_no]\n" "2:\n" ".section .altinstructions,\"a\"\n"
5 ".balign 4\n" ".long 1b\n" ".long 0\n" ".word %P0\n" ".byte 2b - 1b\n" ".byte 0\n"
6 ".previous\n"::"i" (bit)::t_no);
16 void aes_decrypt(union thread_xstate *state)
23 if (__builtin_constant_p(cpu_has(154)) ? cpu_has(154) : cpu_has(154)) {
26 } else if (cpu_has(24)) {}
29 asm volatile ("fnclex");
32 void (*funcptr)(void) = aes_decrypt;