Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-05

SSE3

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Pianoman

Hi, I am interested whether is planed implementation of SSE3 floating instruction in to FPC. I saw optimizations in gpc for p2 p3 how can I set FPC to optimize let's say for P4?
Regards
Pianoman

Earlier message 91 lines
----- Original Message ----- From: To: Sent: Friday, May 19, 2006 12:00 PM Subject: fpc-pascal Digest, Vol 21, Issue 19 > Send fpc-pascal mailing list submissions to > > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > or, via email, send a message with subject or body 'help' to > > > You can reach the person managing the list at > > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of fpc-pascal digest..." > > > Today's Topics: > > 1. writing to dynamic array via formal parameter; what is the > right way (???? ???????????) > 2. [OT] fpc-gtk2 application on arm (Koenraad Lelong) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 18 May 2006 16:20:10 +0400 > From: ???? ??????????? > Subject: [fpc-pascal] writing to dynamic array via formal parameter; > what is the right way > To: > Message-ID: > Content-Type: text/plain; charset=koi8-r > > I use something like > > var a: array of byte; > setlength(a,TheSize); > blockwrite(afile,a[0],TheSize); > > Of course, if it is possible that TheSize=0, I have to write "if TheSize>0 > then blockwrite(...);" > > Is this the intended way? (Ok, that's not a big overhead, but it seems > strange to me.) > > What is the intended way (if it's somewhat different)? > > ------------------------------ > > Message: 2 > Date: Thu, 18 May 2006 20:38:25 +0200 > From: Koenraad Lelong > Subject: [fpc-pascal] [OT] fpc-gtk2 application on arm > To: FPC-Pascal users discussions > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > I think it's off-topic, but since I don't know where to look I take a > chance asking here in the hope that some GTK-gurus can help me further. > I'm making a gtk2 application. Since it has to run on an arm-box with a > 320x240 screen I made a main form of that size (actually 320x220 because > the title bar). This displays fine, full screen. On that form I have a > button to show a modal form, defined with the same size. When I display > this modal form on my i386-PC I get what I expected : a window of the > same size as the main window. When I display this on my arm-box it's > smaller and some buttons are clipped away. > I would like to understand why this happens. I could trim the form by > trail and error to fit it in the place I get, but this is not good enough. > I don't know how I could google for this, if it's possible. I looked > around on the gtk.org site without luck. > Is there anyone who can point me in the right direction ? > Regards, > Koenraad Lelong. > > ------------------------------ > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > End of fpc-pascal Digest, Vol 21, Issue 19 > ****************************************** >

Reply by email

Florian Klaempfl
to Pianoman
Pianoman wrote
Hi, I am interested whether is planed implementation of SSE3 floating instruction in to FPC. I saw optimizations in gpc for p2 p3 how can I set FPC to optimize let's say for P4?

FPC supports sse and sse2. sse3 gives no real advantage for a compiler.

Show quoted text 99 lines
Regards Pianoman ----- Original Message ----- From: To: Sent: Friday, May 19, 2006 12:00 PM Subject: fpc-pascal Digest, Vol 21, Issue 19 > Send fpc-pascal mailing list submissions to > > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > or, via email, send a message with subject or body 'help' to > > > You can reach the person managing the list at > > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of fpc-pascal digest..." > > > Today's Topics: > > 1. writing to dynamic array via formal parameter; what is the > right way (???? ???????????) > 2. [OT] fpc-gtk2 application on arm (Koenraad Lelong) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 18 May 2006 16:20:10 +0400 > From: ???? ??????????? > Subject: [fpc-pascal] writing to dynamic array via formal parameter; > what is the right way > To: > Message-ID: > Content-Type: text/plain; charset=koi8-r > > I use something like > > var a: array of byte; > setlength(a,TheSize); > blockwrite(afile,a[0],TheSize); > > Of course, if it is possible that TheSize=0, I have to write "if > TheSize>0 then blockwrite(...);" > > Is this the intended way? (Ok, that's not a big overhead, but it seems > strange to me.) > > What is the intended way (if it's somewhat different)? > > ------------------------------ > > Message: 2 > Date: Thu, 18 May 2006 20:38:25 +0200 > From: Koenraad Lelong > Subject: [fpc-pascal] [OT] fpc-gtk2 application on arm > To: FPC-Pascal users discussions > Message-ID: > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > I think it's off-topic, but since I don't know where to look I take a > chance asking here in the hope that some GTK-gurus can help me further. > I'm making a gtk2 application. Since it has to run on an arm-box with a > 320x240 screen I made a main form of that size (actually 320x220 because > the title bar). This displays fine, full screen. On that form I have a > button to show a modal form, defined with the same size. When I display > this modal form on my i386-PC I get what I expected : a window of the > same size as the main window. When I display this on my arm-box it's > smaller and some buttons are clipped away. > I would like to understand why this happens. I could trim the form by > trail and error to fit it in the place I get, but this is not good > enough. > I don't know how I could google for this, if it's possible. I looked > around on the gtk.org site without luck. > Is there anyone who can point me in the right direction ? > Regards, > Koenraad Lelong. > > ------------------------------ > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > End of fpc-pascal Digest, Vol 21, Issue 19 > ****************************************** > _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email