Re: [fpc-devel] Different versions of register name search algorithms used

2020-05-21 Thread Christo Crause via fpc-devel
On Thu, May 21, 2020 at 5:22 PM Sven Barth wrote: > There is a general implementation of the search algorithm in rgbase > which is already used for example by x86/itcpugas.pas as well as > z80/cpubase.pas. So in my opinion the way to go would be to switch the > other targets (as well as x86/itx86

Re: [fpc-devel] Different versions of register name search algorithms used

2020-05-21 Thread Sven Barth via fpc-devel
Am 20.05.2020 um 18:09 schrieb Christo Crause via fpc-devel: While trying to understand bug 0037121I noticed that the predominant search algorithm used for finding register names is a binary search without a match check.  My understanding of this algorithm is that it will always run the maximum