Re: [Patch,AVR]: Reuse __tablejump2__

2011-10-10 Thread Denis Chertykov
2011/10/10 Georg-Johann Lay : > This patch does better re-usage of __tablejump2__ from libgcc so that > switch/case statements with jump tables become smaller because the sequence > needs 6 to 9 words compared to 2 when JMPing to __tablejump2__. > > Moreover, __tablejump2__ does no more rely in the

[Patch,AVR]: Reuse __tablejump2__

2011-10-10 Thread Georg-Johann Lay
This patch does better re-usage of __tablejump2__ from libgcc so that switch/case statements with jump tables become smaller because the sequence needs 6 to 9 words compared to 2 when JMPing to __tablejump2__. Moreover, __tablejump2__ does no more rely in the content of EIND (by using EIJMP) and u