This is the mail archive of the
mailing list for the GCC project.
Re: Support for Runtime CPU type detection via builtins (issue5754058)
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Sriraman Tallam <tmsriram at google dot com>
- Cc: reply at codereview dot appspotmail dot com, gcc-patches at gcc dot gnu dot org
- Date: Sun, 8 Apr 2012 15:17:52 +0200 (CEST)
- Subject: Re: Support for Runtime CPU type detection via builtins (issue5754058)
- References: <20120330001021.9E30EB2086@azwildcat.mtv.corp.google.com>
On Thu, 29 Mar 2012, Sriraman Tallam wrote:
> I have made a new patch to only have two builtins :
> * __builtin_cpu_is ("<CPUNAME>")
> * __builtin_cpu_supports ("<FEATURE>")
> apart from the cpu init builtin, __builtin_cpu_init.
I don't see any .texi file as part of this change. Shouldn't this
be documented (and also added to the release notes gcc-4.8/changes.html)?
> List of CPU names :
> * "amd"
> * "intel"
Are company names really suitable here? Intel is also still producing
ia64 aka Itanium, and in the future AMD might do some ARM-based designs.
AMD64 and Intel64 might work.