Re: [fpc-devel] State of SSE/AVX intrinsics

2020-04-20 Thread denisgolovan via fpc-devel
Hi I think another related idea is adding some "attribute" to dynamic arrays types to force them to be aligned to 32/64 bytes. Precisely for this purpose, I am forced to maintain my own FPC fork. -- Regards, Denis Golovan ___ fpc-devel maillist - fpc

[fpc-devel] New Target Announcement: Windows on ARM64

2020-04-20 Thread Sven Barth via fpc-devel
Hello together! I'm happy to announce initial support for the Windows on ARM64 target, aka aarch64-win64. Simple programs work already and the compiler is at least able to display its help message (when trying to compiler something it silently crashes, I've not yet found out why that is the

[fpc-devel] State of SSE/AVX intrinsics

2020-04-20 Thread J. Gareth Moreton
Hi everyone, So to start the story, I'm planning to make use of the nodes that were introduced for the SSE and AVX intrinstics as part of some vectorisation code, since they can help manage the code generation and contain some sanity checks.  I noticed though that some intrinsics are missing;

Re: [fpc-devel] Internal jump instructions for longer conditional jumps

2020-04-20 Thread Martin Frb
On 21/04/2020 00:05, J. Gareth Moreton wrote: Hi Martin, Can you remind me which version of FPC you're compiling with, and the compiler options specified? My jump optimisation code in the trunk should eliminate most of those jump pads and 'conditional jump inversions'. Fpc 3.0.4 -gh -g -gw

Re: [fpc-devel] Internal jump instructions for longer conditional jumps

2020-04-20 Thread J. Gareth Moreton
Hi Martin, Can you remind me which version of FPC you're compiling with, and the compiler options specified? My jump optimisation code in the trunk should eliminate most of those jump pads and 'conditional jump inversions'. Gareth aka. Kit -- This email has been checked for viruses by Avast

Re: [fpc-devel] Internal jump instructions for longer conditional jumps

2020-04-20 Thread Martin Frb
On 20/04/2020 23:11, Florian Klämpfl wrote: Am 20.04.20 um 22:45 schrieb Martin Frb: Can you post also the relevant output of -al? It makes it easier to see where every assembler instruction comes from. This is the entire proc I put long ///

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-20 Thread Michael Ring via fpc-devel
Am 20.04.20 um 22:14 schrieb Florian Klämpfl: Am 20.04.20 um 00:03 schrieb Michael Ring via fpc-devel: Thanks! Your commit is close, but not yet there... to make it work it was necessary for me to re-create the Makefiles, arm-freertos was missing in the root makefile and some others, did yo

Re: [fpc-devel] Internal jump instructions for longer conditional jumps

2020-04-20 Thread Florian Klämpfl
Am 20.04.20 um 22:45 schrieb Martin Frb: On 20/04/2020 22:11, Florian Klämpfl wrote: Am 20.04.20 um 16:44 schrieb Martin: FPC sometimes generates jump instructions as follows. (Not always bound to "IF" but that is the example I found - If such jumps are within line info, they should not be at t

Re: [fpc-devel] Internal jump instructions for longer conditional jumps

2020-04-20 Thread Martin Frb
On 20/04/2020 22:11, Florian Klämpfl wrote: Am 20.04.20 um 16:44 schrieb Martin: FPC sometimes generates jump instructions as follows. (Not always bound to "IF" but that is the example I found - If such jumps are within line info, they should not be at the start of a line? Do you have some ex

Re: [fpc-devel] Internal jump instructions for longer conditional jumps

2020-04-20 Thread J. Gareth Moreton
To add my own two pence, although I'm not sure if it's related or not. Some architectures are very limited in how far a conditional jump can branch compared to an unconditional jump (e.g. the offset might only be a signed byte).  I ran into this problem on certain ARM platforms when developing

Re: [fpc-devel] Problems building xtensa-freertos RTL in trunk

2020-04-20 Thread Florian Klämpfl
Am 20.04.20 um 00:03 schrieb Michael Ring via fpc-devel: Thanks! Your commit is close, but not yet there... to make it work it was necessary for me to re-create the Makefiles, arm-freertos was missing in the root makefile and some others, did you rebuild fpcmake before using it? Pierre recr

Re: [fpc-devel] Internal jump instructions for longer conditional jumps

2020-04-20 Thread Florian Klämpfl
Am 20.04.20 um 16:44 schrieb Martin: FPC sometimes generates jump instructions as follows. (Not always bound to "IF" but that is the example I found IF something then begin {long code} end; The conditional asm jump does not jump all the way to the code after the "end". Instead it points to an

[fpc-devel] Internal jump instructions for longer conditional jumps

2020-04-20 Thread Martin
FPC sometimes generates jump instructions as follows. (Not always bound to "IF" but that is the example I found IF something then begin {long code} end; The conditional asm jump does not jump all the way to the code after the "end". Instead it points to an unconditional jump, that (according t

Re: [fpc-devel] FPC and Z80

2020-04-20 Thread nickysn--- via fpc-devel
On Thu, 2020-04-16 at 11:04 +0200, Guillermo wrote: > Thanks Swen. > > I see last commit was 2 days ago so it is active. I would like to > know > who is responsible to speak to him. May be I can help with the MSX > target, but I need gidance about the internals of the compiler (I > tried > but it

Re: [fpc-devel] FPC and Z80

2020-04-20 Thread nickysn--- via fpc-devel
On Thu, 2020-04-16 at 11:04 +0200, Guillermo wrote: > Thanks Swen. > > I see last commit was 2 days ago so it is active. I would like to > know > who is responsible to speak to him. May be I can help with the MSX > target, but I need gidance about the internals of the compiler (I > tried > but it