Re: [fpc-devel] Re: TBits problem

2013-11-07 Thread Andrea Mauri
Il 06/11/2013 18:41, Tomas Hajny ha scritto: Yes, I think so (although I have no clue regarding compatibility with Delphi, etc.) - looking at the implementation of OrBits (and also XorBits), the calculation which bits should be used is different from AndBits (and probably wrong - it checks if

[fpc-devel] Array indexing vs. pointers

2013-11-07 Thread Jim Leonard
(Sorry if this isn't technical enough for the developer list, but it requires understanding of the underlying architecture so I thought it was appropriate.) I'm implementing something in FPC that will perform very many comparisons across sets of data, and would like to know whether or not FPC

Re: [fpc-devel] Array indexing vs. pointers

2013-11-07 Thread Sven Barth
Am 06.11.2013 18:52, schrieb Jim Leonard: (Sorry if this isn't technical enough for the developer list, but it requires understanding of the underlying architecture so I thought it was appropriate.) I'm implementing something in FPC that will perform very many comparisons across sets of data,

Re: [fpc-devel] Array indexing vs. pointers

2013-11-07 Thread Martin
On 07/11/2013 19:57, Jim Leonard wrote: On 11/7/2013 6:21 AM, Sven Barth wrote: The resulting instructions depend highly on the architecture. E.g. on x86 and m68k for the first case a MOV/MOVE instruction with a multiplier will be used while on other platforms this might involve an explicit