According to the docs (https://gcc.gnu.org/onlinedocs/gcc/x86-Built-in-Functions.html), __builtin_ia32_fxsave() has return type 'void.' Given that, does this code (from gcc/config/i386/fxsrintrin.h) make sense?

    _fxsave (void *__P)
    {
      return __builtin_ia32_fxsave (__P);
    }

Returning a void? Is that a thing? Similar question for _fxrstor, _fxsave64, and _fxrstor64.

And again in xsaveintrin.h for _xsave, _xrstor, _xsave64 and _xrstor64?

dw

Reply via email to