Hello Brian !
I just applied you changes to my fork of tcc made fully reentrant here
https://github.com/mingodad/tinycc and tested with the script shown
bellow building sqlite3 with tcc and gcc -O0.
The resulting sqlite3 was tested creating a database from 150MB of sql
and the resulting
Seeing as I've had all positive feedback on this, here's a more complete
diff that I think is suitable for committing.
It does the following:
1. Converts movl $0, %e{ax,cx,dx,sp,si,di} to xorl
%e{ax,cx,dx,sp,si,di}, %e{ax,cx,dx,sp,si,di}
2. Converts movq $0, %r{ax,cx,dx,sp,si,di} to xorl
6 Απρ 2022, 04:28 Από bcal...@posteo.net:
> On 4/5/2022 9:03 PM, Brian Callahan wrote:
>
>> bin old new diff%reduction
>> --- --- --- --
>> tcc 328786 325878 29080.88
>> libtcc.a 20214 20213 201 0.99
>> bcheck.o
On 4/5/2022 9:03 PM, Brian Callahan wrote:
> bin old new diff%reduction
> --- --- --- --
> tcc 328786 325878 29080.88
> libtcc.a 20214 20213 201 0.99
> bcheck.o 23254 23209 45 0.19
> bt-exe.o
So then let's take it slow, starting with the lowest of low-hanging
fruit and showing numbers along the way.
The patch below improves the x86_64 codegen to convert:
movl $0, %e{ax,cx,dx,sp,si,di}
to:
xorl %e{ax,cx,dx,sp,si,di}, %e{ax,cx,dx,sp,si,di}
Here are benchmark numbers of the .text sizes
Devel
Envoyé: Tue, 29 Mar 2022 21:12:37 +0200 (CEST)
Objet: Re: [Tinycc-devel] Re : Some questions regarding of TCC's
optimizations.
Thanks a lot! I will look at it!
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman
via Tinycc-devel
À: Tinycc Devel
Cc: rem...@tutanota.com, Tinycc Devel
Envoyé: Tue, 29 Mar 2022 21:12:37 +0200 (CEST)
Objet: Re: [Tinycc-devel] Re : Some questions regarding of TCC's
optimizations.
Thanks a lot! I will look at it!
___
Tinycc-devel
, 29 Mar 2022 21:12:37 +0200 (CEST)
Objet: Re: [Tinycc-devel] Re : Some questions regarding of TCC's
optimizations.
Thanks a lot! I will look at it!
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo
adorad
>>>
>>> - Mail d'origine -
>>> De: rempas via Tinycc-devel
>>> À: Tinycc Devel
>>> Cc: rem...@tutanota.com, Tinycc Devel
>>> Envoyé: Tue, 29 Mar 2022 21:12:37 +0200 (CEST)
>>> Objet:
)
Objet: Re: [Tinycc-devel] Re : Some questions regarding of TCC's
optimizations.
Thanks a lot! I will look at it!
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
ue, 29 Mar 2022 21:12:37 +0200 (CEST)
> Objet: Re: [Tinycc-devel] Re : Some questions regarding of TCC's
> optimizations.
>
Thanks a lot! I will look at it!
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
11 matches
Mail list logo