Re: [pushed] i386: Allow string instructions from non-default address space [PR111657]

2025-04-29 Thread H.J. Lu
On Tue, Apr 29, 2025 at 6:49 PM Uros Bizjak wrote: > > On Tue, Apr 29, 2025 at 12:41 PM H.J. Lu wrote: > > > > On Tue, Apr 29, 2025 at 5:52 PM Uros Bizjak wrote: > > > > > > MOVS instructions allow segment override of their source operand, e.g.: > > > > > > rep movsq %gs:(%rsi), (%rdi) > > >

Re: [pushed] i386: Allow string instructions from non-default address space [PR111657]

2025-04-29 Thread Uros Bizjak
On Tue, Apr 29, 2025 at 12:41 PM H.J. Lu wrote: > > On Tue, Apr 29, 2025 at 5:52 PM Uros Bizjak wrote: > > > > MOVS instructions allow segment override of their source operand, e.g.: > > > > rep movsq %gs:(%rsi), (%rdi) > > > > where %rsi is the address of the source location (with %gs segmen

Re: [pushed] i386: Allow string instructions from non-default address space [PR111657]

2025-04-29 Thread H.J. Lu
On Tue, Apr 29, 2025 at 5:52 PM Uros Bizjak wrote: > > MOVS instructions allow segment override of their source operand, e.g.: > > rep movsq %gs:(%rsi), (%rdi) > > where %rsi is the address of the source location (with %gs segment override) > and %rdi is the address of the destination location

[pushed] i386: Allow string instructions from non-default address space [PR111657]

2025-04-29 Thread Uros Bizjak
MOVS instructions allow segment override of their source operand, e.g.: rep movsq %gs:(%rsi), (%rdi) where %rsi is the address of the source location (with %gs segment override) and %rdi is the address of the destination location. The testcase improves from (-O2 -mno-sse -mtune=generic):