[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386
Module Name: src
Committed By: dsl
Date: Sun Dec 30 16:13:57 UTC 2012
If -march=native is specified, only enable AVX if the processor supports
it and the OS has enabled XGETBV for application use.
It might need to also check XCR0 (having executed XGETBV) to check that
the kernel actually supports saving the YMM registers, but I suspect the
kernel might defer setting that until the first fault.
See vol 1 section 13.5 of the Intel SDM (intel_x86_325462.pdf).
To generate a diff of this commit:
cvs rdiff -u -r22.214.171.124 -r1.2 \
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |