URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [avx-os-support.h] - Rev 848
Go to most recent revision | Compare with Previous | Blame | View Log
/* Check if the OS supports executing AVX instructions. */ static int avx_os_support (void) { unsigned int eax, edx; __asm__ ("xgetbv" : "=a" (eax), "=d" (edx) : "c" (0)); return (eax & 6) == 6; }
Go to most recent revision | Compare with Previous | Blame | View Log