Re: [fpc-pascal] Error in x32 compiler when using SSE3

2012-05-29 Thread OBones
Jonas Maebe wrote: OBones wrote on Mon, 28 May 2012: Boy, I'm having a hard day and I'm very sorry to make you waste so much time. Frac was here to see the impact of some changes on the issue, but the original code that crashes is with Trunc instead of Frac so that the comparison looks like

Re: [fpc-pascal] Error in x32 compiler when using SSE3

2012-05-29 Thread Jonas Maebe
OBones wrote on Mon, 28 May 2012: Boy, I'm having a hard day and I'm very sorry to make you waste so much time. Frac was here to see the impact of some changes on the issue, but the original code that crashes is with Trunc instead of Frac so that the comparison looks like this: if Trunc

Re: [fpc-pascal] Error in x32 compiler when using SSE3

2012-05-28 Thread OBones
Jonas Maebe wrote: On 28 May 2012, at 15:19, OBones wrote: Bugger, why does this keep happening to me??? Anyway, this time it is at the end. I cannot reproduce the problem with 2.6.0/2.7.1 on Mac OS X/i386, nor with 2.7.1 on Linux/i386. I even don't see any comis* instructions in the code, th

Re: [fpc-pascal] Error in x32 compiler when using SSE3

2012-05-28 Thread Jonas Maebe
On 28 May 2012, at 15:19, OBones wrote: > Bugger, why does this keep happening to me??? > Anyway, this time it is at the end. I cannot reproduce the problem with 2.6.0/2.7.1 on Mac OS X/i386, nor with 2.7.1 on Linux/i386. I even don't see any comis* instructions in the code, the comparison is

Re: [fpc-pascal] Error in x32 compiler when using SSE3

2012-05-28 Thread OBones
Jonas Maebe wrote: On 28 May 2012, at 14:41, OBones wrote: I'm compiling the program at the end of this message The program is missing. Bugger, why does this keep happening to me??? Anyway, this time it is at the end. I really need to have the same instruction set used for floating point m

Re: [fpc-pascal] Error in x32 compiler when using SSE3

2012-05-28 Thread Jonas Maebe
On 28 May 2012, at 14:41, OBones wrote: > I'm compiling the program at the end of this message The program is missing. > I really need to have the same instruction set used for floating point maths, > hence the use of SSE3 in both cases. If your x86-64 target is Win64, using -CfSSE2/-CfSSE3 w

[fpc-pascal] Error in x32 compiler when using SSE3

2012-05-28 Thread OBones
Hello all, I'm compiling the program at the end of this message in x86 and x64 mode using the following command lines: ppc386 -MDelphi -CfSSE3 testFPU.dpr ppcrossx64 -MDelphi -CfSSE3 testFPU.dpr while I get an exe file and no error in x64 mode, I get the following error message with ppc386: