This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
fxsrintrin.h
- From: David Wohlferd <dw at LimeGreenSocks dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 18 Aug 2016 20:51:46 -0700
- Subject: fxsrintrin.h
- Authentication-results: sourceware.org; auth=none
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