This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Support for Runtime CPU type detection via builtins (issue5754058)
On Mon, Apr 23, 2012 at 1:19 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Tue, Apr 3, 2012 at 9:47 PM, Sriraman Tallam <tmsriram@google.com> wrote:
>
>> i386 maintainers - ?Is this patch ok?
>
> Has the community reached the consensus on how this kind of
> functionality has to be implemented? I have followed the discussion a
> bit, but IIRC, there was no clear decision. Without this decision, I
> am not able to review the _implementation_ of agreed functionality for
> x86 target.
>
> (I apologize if I have missed the decision, please point me to the
> discussion in this case.)
Also, Richard's ok on just using 2 builtins: __builtin_cpu_is and
__builtin_cpu_supports
http://gcc.gnu.org/ml/gcc-patches/2012-03/msg00752.html
>
>>>>> Patch available for review here:
>>>>> http://codereview.appspot.com/5754058
>
> Please attach patches or inline it in the message itself for a review.
> Please see [1] for further instructions.
>
> [1] http://gcc.gnu.org/contribute.html#patches
>
> Uros.