Skip to content

x86: work around old GCC versions (pre 9.0) having broken xgetbv implementations

amyspark requested to merge amyspark/orc:fix-gcc-broken-xgetbv into main

Hi folks,

This PR takes care of GCC 8 not exposing _xgetbv as per the Intel standard. Just in case, I added the assembly-based fallback too.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71659

Merge request reports