void *resolve_builtin_cpu(void) {
__builtin_cpu_init();
if (__builtin_cpu_supports("sse4.1"))
return sse41;
else
return portable;
}
Is the right way to implement ifunc resolver.
** Changed in: gcc-10 (Ubuntu)
Status: New => Invalid
** Changed in: glibc (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1884382
Title:
__builtin_cpu_supports does not work in ifunc resolver
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/1884382/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs