Andrew Stubbs wrote: > Hi all, > > The SH port does not currently define any register groups. Instead, it > just relies on the default in reggroup.c. This is not quite adequate as > it is not always clear from the type where a register should naturally > sit. In particular the 'fv' vector registers are classified as general, > not float or vector. > > The attached patch adds a function to do the register classification. > > It does not know about all the registers of sh2a or any of the dsp > variants (because I don't), but should not make the situation any worse > for those. Is this patch OK? I attach an updated patch with the Makefile properly adjusted. Andrew Stubbs