[PATCH] add the -mrecip driver flag and process its options

hfinkel at anl.gov hfinkel at anl.gov
Fri May 15 17:05:37 PDT 2015


I apologize for not looking at this earlier, but the syntax you're accepting is subtly different from GCC's syntax, and I think that we should try to accept a superset of gcc's syntax (not something subtly different).

GCC, to combine the x86 and PPC options, accepts the keys all, default, div (for both divf and divd), divf, divd, rsqrt (for both rsqrtf and rsqrtd), rsqrtf, rsqrtd, and then these same things with the 'vec-' prefix. '!' is used as the prefix to indicate disabling (not '-' as you have here).

I'm fine with the :<n> syntax extension, but I'd rather use GCC's syntax here as a base for compatibility.


http://reviews.llvm.org/D8989

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list