On 19/05/2015 14:23, Jonas Maebe wrote:
Martin Frb wrote on Tue, 19 May 2015:
005EACF0 833A00 cmp dword ptr [edx],$00
005EACF3 0F95C0 setnz al
005EACF6 84C0 test al,al
005EACF8 7509 jnz +$09
Is that something that sho
Martin Frb wrote on Tue, 19 May 2015:
005EACF0 833A00 cmp dword ptr [edx],$00
005EACF3 0F95C0 setnz al
005EACF6 84C0 test al,al
005EACF8 7509 jnz +$09
Is that something that should be optimized away?
I'm sure you can
fpc 3.1.1 on i386
-O3
function FOO: Boolean; inline;
begin
Result := FMem <> nil;
end;
function BAR: TPItemT;
begin
if FOO
then Result := nil
else Result := TPItemT(FMem.FirstItemPointer + (Index *
FItemSize.ItemSize));
end;
generates something like:
005EACF0 833A00
You are right. it does show gif. No idea why it did not when I tested
this some time ago...
-Michael
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
On 9/4/08, Michael Schnell <[EMAIL PROTECTED]> wrote:
>
> Huh??
> Sorry Typo: Thunderbird !
Makes no difference, that test email I mentioned was from one account
to my work account. HTML email (which I hate) or plain text emails...
Thunderbird shows png, gif and jpg inline, without issues. In th
Graeme Geldenhuys wrote:
On 9/4/08, Michael Schnell <[EMAIL PROTECTED]> wrote:
Firefox shows PNGs (and JPGs) within the message, while you would need to
open an external viewer for GIFs. So PNG is really nice here !
Huh??
Sorry Typo: Thunderbird !
-Michael
On 9/4/08, Michael Schnell <[EMAIL PROTECTED]> wrote:
> Firefox shows PNGs (and JPGs) within the message, while you would need to
> open an external viewer for GIFs. So PNG is really nice here !
Huh?? Many sites use gif images!
Firefox supports PNG, GIF, JPG etc.. all natively. At least my
vers
It's 9K in PNG if you use a palette/256 colors, much like GIF does ;)
Firefox shows PNGs (and JPGs) within the message, while you would need
to open an external viewer for GIFs. So PNG is really nice here !
-Michael
___
fpc-devel maillist - fpc-d
On Wed, Sep 3, 2008 at 7:50 PM, David Pethes
<[EMAIL PROTECTED]> wrote:
>> as PNG is 28K. As a GIF it's only 17.5K
>> :-) Don't use JPG's, they are useless and look damn ugly!
>
> It's 9K in PNG if you use a palette/256 colors, much like GIF does ;)
Cool! I never thought to look at the colour pa
Graeme Geldenhuys wrote:
PS:
The image was received fine. I noticed with my own experimentation
that small screenshots (not photos) work better as GIF images. It's a
much better option for size reduction with no visual loss. Your image
as PNG is 28K. As a GIF it's only 17.5K
:-) Don't use JPG's,
Graeme Geldenhuys wrote:
Is assembler code generated for a call to a blank (no content)
procedure? The content of the procedure might be IFDEF'd out.
I've checked it, and it does. Mark the procedure as inline together with
IFDEF-ing its code, and there will be no overhead.
David
___
On Wednesday 03 September 2008 12.53:09 Graeme Geldenhuys wrote:
> On 9/3/08, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> > For the people who don't know MSEide attached a screenshot, I hope the
> > file is not too big. It is with -O3. With inline there is still some
> > overhead because of the s
On 9/3/08, Martin Schreiber <[EMAIL PROTECTED]> wrote:
>
> For the people who don't know MSEide attached a screenshot, I hope the file is
> not too big. It is with -O3. With inline there is still some overhead because
> of the string variable.
OK, thanks Martin. Debugging in MSEide seems quite
Hi
Try fpc -sh
regards
Nataraj
On Wed, Sep 3, 2008 at 2:37 PM, Graeme Geldenhuys
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I know it's possible, but I can't remember the exact FPC parameters.
> How do I see the assembler generated by FPC for my source code?
>
> I need to do some optimisation compari
On Wednesday 03 September 2008 12.04:23 Graeme Geldenhuys wrote:
> On 9/3/08, Martin Schreiber <[EMAIL PROTECTED]> wrote:
> > You could use breakpoints and the (dis-)assembler window of MSEide, it
> > lists mixed pascal and machine code.
>
> Thanks Martin, I'll take a look.
>
> What I'm trying to f
On 9/3/08, Martin Schreiber <[EMAIL PROTECTED]> wrote:
>
> You could use breakpoints and the (dis-)assembler window of MSEide, it lists
> mixed pascal and machine code.
Thanks Martin, I'll take a look.
What I'm trying to find out (with my rusty assembler knowledge) is if
a lot of IFDEF's around
On Wednesday 03 September 2008 11.07:49 Graeme Geldenhuys wrote:
> Hi,
>
> I know it's possible, but I can't remember the exact FPC parameters.
> How do I see the assembler generated by FPC for my source code?
>
> I need to do some optimisation comparisons looking at the assembler
> generated.
>
>
On Wed, 3 Sep 2008, Graeme Geldenhuys wrote:
> On 9/3/08, Micha Nelissen <[EMAIL PROTECTED]> wrote:
> >
> > Read ppc386 -h.
>
>
> OK, I meant to say, I already looked at the parameter help, I'm just
> not sure which one I need to use. I would guess -al is what I am
> looking for? Is there m
On 9/3/08, Micha Nelissen <[EMAIL PROTECTED]> wrote:
>
> Read ppc386 -h.
OK, I meant to say, I already looked at the parameter help, I'm just
not sure which one I need to use. I would guess -al is what I am
looking for? Is there more information on what all these options do?
Sorry, my assemble
Graeme Geldenhuys wrote:
Hi,
I know it's possible, but I can't remember the exact FPC parameters.
How do I see the assembler generated by FPC for my source code?
Read ppc386 -h.
Micha
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://
Hi,
I know it's possible, but I can't remember the exact FPC parameters.
How do I see the assembler generated by FPC for my source code?
I need to do some optimisation comparisons looking at the assembler generated.
eg:
Is assembler code generated for a call to a blank (no content)
procedure? Th
21 matches
Mail list logo