> > You need the target hook that tells how big the reassociation based on the > type. Machines have different numbers of functional units, for example, maybe > 3 integer units and 2 floating point units. For example, in the PowerPC, I > would set the basic integer and binary floating point types to 2 to match the > dispatch rules, but for decimal floating point, I would set it to one, since > the machines currently only have 1 decimal unit. > > With the hook, I could see eliminating the switch and/or --param altogether, > and doing only in the hook. >
Hook introduced by this patch meets these requirements. But I think it is useful to have option to override the hook because you cannot tune it perfectly for each case. Ilya