On Wed, Jun 28, 2017 at 05:04:37PM -0400, Michael Meissner wrote: > > Why did you use check_runtime_nocache btw? Is that just copy-paste? > > Just copy-paste. > > Like the target_clones stuff, right now, it is only x86 and PowerPC that > supports __builtin_cpu*. > > I don't really see the point of having a machine independent test for > __builtin_cpu_*, but if you feel strongly about it go for it.
Why have divergent names for things, if all targets could use the same? Yes I realise almost all uses will be in target-specific testcases. Getting the interface right up front is more important than the implementation, it's a pain to change the interface later (have to modify a lot of testcases, etc.) Segher