Re: [PATCH] varasm: Shorten assembly of strings with larger zero regions

2024-07-17 Thread Richard Biener
> Am 17.07.2024 um 16:45 schrieb Jakub Jelinek : > > On Wed, Jul 17, 2024 at 04:15:16PM +0200, Richard Biener wrote: >> Ok. Is there a more general repeat byte op available? > > I think >.skipbytes, fill > but not sure what assemblers do support that, not sure it is that > common to

Re: [PATCH] varasm: Shorten assembly of strings with larger zero regions

2024-07-17 Thread Jakub Jelinek
On Wed, Jul 17, 2024 at 04:15:16PM +0200, Richard Biener wrote: > Ok. Is there a more general repeat byte op available? I think .skip bytes, fill but not sure what assemblers do support that, not sure it is that common to have long sequences of non-zero identical bytes and for '\0's we

Re: [PATCH] varasm: Shorten assembly of strings with larger zero regions

2024-07-17 Thread Richard Biener
> Am 17.07.2024 um 15:55 schrieb Jakub Jelinek : > > Hi! > > When not using .base64 directive, we emit for long sequences of zeros >.string"foobarbaz" >.string "" >.string "" >.string "" >.string "" >.string "" >.string "" >.string "" >.string "" >.