This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using gen_int_mode instead of GEN_INT minor testsuite fallout on MIPS


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]