[fpc-devel] x86_64 Optimizer Overhaul

Marģers . margers.roked at inbox.lv
Wed Dec 12 14:08:27 CET 2018


 

----- Reply to message -----
Subject: Re: [fpc-devel] x86_64 Optimizer Overhaul
Date: 2018. gada 6. decembris 18:57:29
From:  J. Gareth Moreton <gareth at moreton-family.com>
To:  FPC developers' list
<fpc-devel at lists.freepascal.org>
> I believed I've fixed the bug.  Thanks for your
help.

Now it's way better. -O3 and -O4 works fine.
Speed test for my programs shows no measurable
difference.


# [468] inc(sk);
--trunk  --------- 
incq	 272(%rsp)

-- overhaul ------- 
movl 	272(%rsp),%eax
addl 	$1,%eax
movq 	%rax,272(%rsp)

did you mean to be so?

margers




More information about the fpc-devel mailing list