Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
numpy / distutils / checks / extra_vsx3_half_double.c
Size: Mime:
/**
 * Assembler may not fully support the following VSX3 scalar
 * instructions, even though compilers report VSX3 support.
 */
int main(void)
{
    unsigned short bits = 0xFF;
    double f;
    __asm__ __volatile__("xscvhpdp %x0,%x1" : "=wa"(f) : "wa"(bits));
    __asm__ __volatile__ ("xscvdphp %x0,%x1" : "=wa" (bits) : "wa" (f));
    return bits;
}