Using gen_int_mode instead of GEN_INT minor testsuite fallout on MIPS

Mike Stump mikestump@comcast.net
Sun Sep 15 01:45:00 GMT 2013


On Sep 14, 2013, at 1:57 AM, Richard Sandiford <rdsandiford@googlemail.com> wrote:
> How about a three-operand version: the name of the partial mode,
> the name of the memory mode, and the precision?

I like creating the name via algorithm.  It leads to predictable names, and easy to understand names.  P60DI is obvious to all…  P20SI equally is obvious to all.  But, if people like the ability to name the mode, certainly adding a parameter for the name is trivial enough to do.

> "PTI" and "P128TI" are a bit confusing for the (hacky) powerpc usage, since 128 bits
> isn't partial.

Arguably what rs6000 is doing is unholy.  I'd welcome someone to find the right solution to their problem and fix it in a better way; the use of partial isn't the right solution.


More information about the Gcc-patches mailing list