[PATCH 07/12] x86: template-ize packed/scalar vector floating point insns

Jan Beulich jbeulich@suse.com
Thu Aug 11 06:03:51 GMT 2022


On 11.08.2022 03:12, Jiang, Haochen wrote:
>> -----Original Message-----
>> From: H.J. Lu <hjl.tools@gmail.com>
>> Sent: Saturday, August 6, 2022 7:07 AM
>>
>> Lili, Hongchen, do you have any comments?  Will this make future changes
>> difficult?
>>
> 
> I suppose it won't make future changes difficult if its purpose is to combine sdh and
> Disp8 Shift.

The combining with Disp8 shift is a result (or side effect), not the
purpose. The purpose is reduction of redundancy, and as such I
actually cannot see how this could get in the way of future changes.
Ideally future changes would leverage the templates where feasible,
but if there are reasons not to then "traditional" insn templates are
still going to work as before.

Jan


More information about the Binutils mailing list