On Mon, Oct 14, 2019 at 10:31:58AM -0500, Peter Bergner wrote: > I agree with your other comment that we should be looking at explicit option > usage versus default options. However, the way we now implement default CPU, > the gcc driver always passes a -mcpu= option to cc1 no matter if the user > used -mcpu= or not, so -mcpu= will always looks like an explicit option. > So when -mcpu=power[789] is passed to cc1 (via explicit user usage or default > cpu), does that look like -mvsx was also explicitly used? I'm guessing not.
-mdebug=reg tells you (answer: explicit means explicit, for everything I tried anyway). Segher