This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Missing Skylake -march=/-mtune= option


On 2015.08.13 at 12:31 +0300, Yuri Rumyantsev wrote:
> Hi All,
> 
> Here is patch for adding march/mtune options for Skylake.

http://www.intel.com/content/dam/www/public/us/en/documents/specification-updates/desktop-6th-gen-core-family-spec-update.pdf 

states that BMI1 and BMI2 are not supported. Is this true for all
Skylake CPUs?

Quote from the pdf:

SKD002 CPUID Incorrectly Reports Bit Manipulation Instructions Support

Executing CPUID with EAX = 7 and ECX = 0 may return EBX with bits [3]
and [8] set, incorrectly indicating the presence of BMI1 and BMI2
instruction set extensions.
Attempting to use instructions from the BMI1 or BMI2 instruction set
extensions will result in a #UD exception.

-- 
Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]