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: Update host_detect_local_cpu for new Intel processors


On Sat, Jan 24, 2015 at 2:16 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Sat, Jan 24, 2015 at 11:13 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
>> On Sat, Jan 24, 2015 at 3:50 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>> On Fri, Jan 23, 2015 at 06:37:01PM -0800, H.J. Lu wrote:
>>>> The new Silvermont aswell and Broadwell model numbers are in
>>>>
>>>> http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-optimization-manual.pdf
>>>>
>>>> This patch updates host_detect_local_cpu to check new Silvermont, Haswell
>>>> and Broadwell model numbers.  OK for trunk and 4.9 branch?
>>>>
>>>> Thanks.
>>>>
>>>
>>> There are more model numbers in CHAPTER 35 MODEL-SPECIFIC REGISTERS (MSRS):
>>>
>>> http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-system-programming-manual-325384.pdf
>>>
>>> OK for trunk and 4.9 branch?
>>>
>>> Thanks.
>>>
>>>
>>> H.J.
>>> ---
>>> 2015-01-23   H.J. Lu  <hongjiu.lu@intel.com>
>>>
>>>         * config/i386/driver-i386.c (host_detect_local_cpu): Check new
>>>         Silvermont, Haswell, Broadwell and Knights Landing model numbers.
>>
>> Please also update /libgcc/config/i386/cpuinfo.c and relevant testsuite files.
>
> Huh, complete AVX512 handling is missing in the above file. Adding Kirill to CC:
>
> Uros.

Yes, model 0x4d is Sky Lake.  Kirill, I don't think we want to tune it like KNL.
I think it is closer to Broadwell than KNL.  Before we have -mtune=skylake, we
should make -mtune=native as -mtune=broadwell on Sky Lake.

-- 
H.J.


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