Re: [fpc-devel] "Blank slate" next version of FPC

2019-02-23 Thread J. Gareth Moreton
Indeed, most of the instructions for bit extracting appeared later for SSE and AVX.  I did find one instruction that works with general-purpose registers, named BEXTR, but it only extracts contiguous bits and requires BMI1. Gareth aka. Kit On Sat 23/02/19 10:27 , Jonas Maebe jo...@freepascal.o

Re: [fpc-devel] "Blank slate" next version of FPC

2019-02-23 Thread Jonas Maebe
On 23/02/2019 01:30, J. Gareth Moreton wrote: Given that the reference is an offset from %rbp, the compiler will know for sure that the variable is local, so there won't be any problems with multi-threading that prevents a lot of temporary register storage for safety reasons. Unpacking record