On 12/22/2015 04:24 AM, Richard Earnshaw (lists) wrote:
The bigger problem here is that branch costs are a property of a
specific CPU, not the target architecture. So deciding whether or not
we should skip this test (and perhaps others like it) is impossible
given that we can't know what the default CPU for the compiler is (and
even if we did know, maintaining such a list would be almost impossible).
True, but you still get a reasonable set of targets where the test
passes vs fails -- not all the targets have as many variants as ARM :-)
I'd certainly agree that covering all the subtargets and then keeping
those lists accurate sounds like a lot of make-work.
jeff