SSE3

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SSE3

pianoman-3
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
----- Original Message -----
From: <[hidden email]>
To: <[hidden email]>
Sent: Friday, May 19, 2006 12:00 PM
Subject: fpc-pascal Digest, Vol 21, Issue 19


> Send fpc-pascal mailing list submissions to
> [hidden email]
>
> 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
> [hidden email]
>
> You can reach the person managing the list at
> [hidden email]
>
> 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: ???? ??????????? <[hidden email]>
> Subject: [fpc-pascal] writing to dynamic array via formal parameter;
> what is the right way
> To: [hidden email]
> Message-ID: <[hidden email]>
> 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 <[hidden email]>
> Subject: [fpc-pascal] [OT] fpc-gtk2 application on arm
> To: FPC-Pascal users discussions <[hidden email]>
> Message-ID: <[hidden email]>
> 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  -  [hidden email]
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
> End of fpc-pascal Digest, Vol 21, Issue 19
> ******************************************
>

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: SSE3

Florian Klämpfl
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.

> Regards
> Pianoman
> ----- Original Message ----- From:
> <[hidden email]>
> To: <[hidden email]>
> Sent: Friday, May 19, 2006 12:00 PM
> Subject: fpc-pascal Digest, Vol 21, Issue 19
>
>
>> Send fpc-pascal mailing list submissions to
>> [hidden email]
>>
>> 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
>> [hidden email]
>>
>> You can reach the person managing the list at
>> [hidden email]
>>
>> 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: ???? ??????????? <[hidden email]>
>> Subject: [fpc-pascal] writing to dynamic array via formal parameter;
>> what is the right way
>> To: [hidden email]
>> Message-ID: <[hidden email]>
>> 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 <[hidden email]>
>> Subject: [fpc-pascal] [OT] fpc-gtk2 application on arm
>> To: FPC-Pascal users discussions <[hidden email]>
>> Message-ID: <[hidden email]>
>> 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  -  [hidden email]
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
>> End of fpc-pascal Digest, Vol 21, Issue 19
>> ******************************************
>>
>
> _______________________________________________
> fpc-pascal maillist  -  [hidden email]
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>

_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal