[fpc-devel] gtk2 include file at wrong place

2006-10-06 Thread Mattias Gaertner
Maybe there is a deeper meaning, but I guess it a bug. Can someone move packages/extra/gtk2/gtkcellrenderercombo.inc to the other gtk include files packages/extra/gtk2/gtk+/gtk/gtkcellrenderercombo.inc Mattias ___ fpc-devel maillist -

[fpc-devel] using sse2 packed doubles

2006-10-06 Thread Vincent Snijders
Hi, I wondered if it is possible to add support for using sse2 packed doubles in fpc. I tried to create a sse2doubles type and define a operator + on it. Eventually I want to move this type and all operators on it to a separate sse2 unit, so that the user of this type doesn't need to see the

Re: [fpc-devel] ANN: Further patch for h2pas to use the ctypes unit

2006-10-06 Thread Marco van de Voort
I have posted a patch that supplements my original patch to the h2pas utility. This removes some WriteLn debug statements that I made. I also removed some pointer type redefinitions from the translated header. Those pointer types are in ctypes. The patch works works better when you are

Re: [fpc-devel] sse2 registers

2006-10-06 Thread Vincent Snijders
Vincent Snijders schreef: I am trying out the sse2 support in fpc 2.1.1 and compile my code with -Cfsse2. The program is the mandelbrot benchmark: http://shootout.alioth.debian.org/gp4/benchmark.php?test=mandelbrotlang=fpascal The innerloop is like this: Zr := 0; Zi := 0; Tr := 0;

Re: [fpc-devel] sse2 registers

2006-10-06 Thread Daniël Mantione
Op Fri, 6 Oct 2006, schreef Vincent Snijders: They are not used, because the same body contains a procedure call and the %xmm0 registers are volatile. See also the notes with issue 7533: http://www.freepascal.org/mantis/view.php?id=7533 This is solveable with SSA, so a variable can be in a

Re: [fpc-devel] sse2 registers

2006-10-06 Thread Vincent Snijders
Daniël Mantione schreef: Op Fri, 6 Oct 2006, schreef Vincent Snijders: They are not used, because the same body contains a procedure call and the %xmm0 registers are volatile. See also the notes with issue 7533: http://www.freepascal.org/mantis/view.php?id=7533 This is solveable with SSA,

[fpc-devel] [Fwd: TMemDataset : pb suggestions]

2006-10-06 Thread Florian Klaempfl
Redirected to fpc-devel for a larger audience. Original-Nachricht Betreff: TMemDataset : pb suggestions Datum: Fri, 06 Oct 2006 11:34:51 +0200 Von: Oro06 [EMAIL PROTECTED] Antwort an: [EMAIL PROTECTED] An: core [EMAIL PROTECTED] Hi, i'm trying to use TMemDataset on arm/wince

Re: [fpc-devel] using sse2 packed doubles

2006-10-06 Thread Florian Klaempfl
Vincent Snijders schrieb: Hi, I wondered if it is possible to add support for using sse2 packed doubles in fpc. I tried to create a sse2doubles type and define a operator + on it. Eventually I want to move this type and all operators on it to a separate sse2 unit, so that the user of this

Re: [fpc-devel] gtk2 include file at wrong place

2006-10-06 Thread Florian Klaempfl
Mattias Gaertner schrieb: Maybe there is a deeper meaning, but I guess it a bug. If you say so, iirc you wrote the gtk2 header conversion :) Can someone move Done. packages/extra/gtk2/gtkcellrenderercombo.inc to the other gtk include files

Re: [fpc-devel] gtk2 include file at wrong place

2006-10-06 Thread Mattias Gaertner
On Fri, 06 Oct 2006 19:13:42 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Mattias Gaertner schrieb: Maybe there is a deeper meaning, but I guess it a bug. If you say so, iirc you wrote the gtk2 header conversion :) Yes, but I didn't add this file. Thanks. Mattias Can someone

Re: [fpc-devel] using sse2 packed doubles

2006-10-06 Thread Micha Nelissen
Vincent Snijders wrote: tracker item for this? Compiler hacking is out of my league. It's also just pascal, you know ;-). Micha ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] using sse2 packed doubles

2006-10-06 Thread Vincent Snijders
Florian Klaempfl wrote: Vincent Snijders schrieb: Hi, I wondered if it is possible to add support for using sse2 packed doubles in fpc. I tried to create a sse2doubles type and define a operator + on it. Eventually I want to move this type and all operators on it to a separate sse2 unit,

Re: [fpc-devel] using sse2 packed doubles

2006-10-06 Thread Micha Nelissen
Vincent Snijders wrote: So if fpc hypothetically would support a type double2 = array[0..1] of double and operators like + - * on it would use the packed double instructions of sse2, then it could be used in the shoutout benchmarks. Isn't it better to generalize this support to vectors ? Maybe

Re: [fpc-devel] [Fwd: TMemDataset : pb suggestions]

2006-10-06 Thread Oro06
Florian Klaempfl wrote: Redirected to fpc-devel for a larger audience. actually this give an alignement error: PRecInfo(Buffer+FRecInfoOffset)^.BookmarkFlag := Value;(memds line 750, procedure TMemDataset.SetBookmarkFlag) replacing with this :

[fpc-devel] rtti, arrays and performance

2006-10-06 Thread Vlad
Hi. I'm porting my Delphi app to Mac OS X. Fortunately my core classes compile fine with freepascal, so I can produce dylib and use it from Cocoa application. To make binaries I use fpc 2.0.4 for powerpc version and fpc 2.1.1 for intel version (2.1.1 snapshot downloaded on August 2, 2006

Re[2]: [fpc-devel] rtti, arrays and performance

2006-10-06 Thread vlad vladovich
-Original Message- From: Michael Van Canneyt [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Date: Fri, 6 Oct 2006 22:01:55 +0200 (CEST) Subject: Re: [fpc-devel] rtti, arrays and performance Did you see a change in performance ? Can you give an order of