Re: [google][4.6]Add new target builtin to check for amdfam15h processors (issue5535046)

2012-01-10 Thread Sriraman Tallam
On Tue, Jan 10, 2012 at 3:33 PM, Andrew Pinski wrote: > On Tue, Jan 10, 2012 at 3:31 PM, Diego Novillo wrote: >> On 12-01-10 17:11 , Sriraman Tallam wrote: >>> >>> This patch adds a new target builtin, __builtin_cpu_is_amdfam15, to check >>> for AMD Family 15h processors. >>> >>>        * i386-cp

Re: [google][4.6]Add new target builtin to check for amdfam15h processors (issue5535046)

2012-01-10 Thread Diego Novillo
On 12-01-10 18:33 , Andrew Pinski wrote: On Tue, Jan 10, 2012 at 3:31 PM, Diego Novillo wrote: On 12-01-10 17:11 , Sriraman Tallam wrote: This patch adds a new target builtin, __builtin_cpu_is_amdfam15, to check for AMD Family 15h processors. * i386-cpuinfo.c (__cpu_is_amdfam15): New

Re: [google][4.6]Add new target builtin to check for amdfam15h processors (issue5535046)

2012-01-10 Thread Andrew Pinski
On Tue, Jan 10, 2012 at 3:31 PM, Diego Novillo wrote: > On 12-01-10 17:11 , Sriraman Tallam wrote: >> >> This patch adds a new target builtin, __builtin_cpu_is_amdfam15, to check >> for AMD Family 15h processors. >> >>        * i386-cpuinfo.c (__cpu_is_amdfam15): New member in __cpu_model >> struc

Re: [google][4.6]Add new target builtin to check for amdfam15h processors (issue5535046)

2012-01-10 Thread Diego Novillo
On 12-01-10 17:11 , Sriraman Tallam wrote: This patch adds a new target builtin, __builtin_cpu_is_amdfam15, to check for AMD Family 15h processors. * i386-cpuinfo.c (__cpu_is_amdfam15): New member in __cpu_model struct. (get_amd_cpu): Check for family 15h processors. (cp

[google][4.6]Add new target builtin to check for amdfam15h processors (issue5535046)

2012-01-10 Thread Sriraman Tallam
This patch adds a new target builtin, __builtin_cpu_is_amdfam15, to check for AMD Family 15h processors. * i386-cpuinfo.c (__cpu_is_amdfam15): New member in __cpu_model struct. (get_amd_cpu): Check for family 15h processors. (cpu_indicator_init): Adjust model and family fo