diffutils-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mbcel module for Gnulib?, incomplete multibyte sequences


From: Paul Eggert
Subject: Re: mbcel module for Gnulib?, incomplete multibyte sequences
Date: Wed, 26 Jul 2023 12:51:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 2023-07-21 16:25, Paul Eggert wrote:
Even mbcel strains GCC's capabilities to optimize. When I look at the x86-64 code it generates I see clear opportunities for tighter code. If I have time I'll fire off a suggestion or two to the GCC maintainers. With luck these suggestions would also help mbu?iterf?.

I sent one suggestion here:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823

This sped up the microbenchmark for mbcel on ASCII by 55% on a newer x86-64 platform, and by 74% on an older one. I assume mbu?iterf? would also benefit.

Although I suspect the resulting machine code could be improved further, there are diminishing returns....



reply via email to

[Prev in Thread] Current Thread [Next in Thread]