On Thu, Jul 31, 2014 at 1:46 PM, Gopalasubramanian, Ganesh <ganesh.gopalasubraman...@amd.com> wrote: >> But, looking to processor_alias_table in config/i386/i386.c, only >> PROCESSOR_BTVER2 defines PTA_MOVBE. According to this, the logic is already >> correct, so the patch is not needed. > > We are evaluating bdver4 cpu. Bdver4 also supports MOVBE. I will submit patch > for bdver4 PTA after our evaluation.
Then just use: --cut here-- Index: driver-i386.c =================================================================== --- driver-i386.c (revision 213342) +++ driver-i386.c (working copy) @@ -576,10 +576,10 @@ const char *host_detect_local_cpu (int argc, const if (name == signature_NSC_ebx) processor = PROCESSOR_GEODE; + else if (has_avx2) + processor = PROCESSOR_BDVER4; else if (has_movbe) processor = PROCESSOR_BTVER2; - else if (has_avx2) - processor = PROCESSOR_BDVER4; else if (has_xsaveopt) processor = PROCESSOR_BDVER3; else if (has_bmi) --cut here-- Uros.