[PATCH][PR target/15184] Fix for direct byte access on x86
Jakub Jelinek
jakub@redhat.com
Fri Jan 30 11:46:00 GMT 2015
On Fri, Jan 30, 2015 at 11:23:38AM +0100, Uros Bizjak wrote:
> On Fri, Jan 30, 2015 at 11:13 AM, Jakub Jelinek <jakub@redhat.com> wrote:
>
> >> /* Each function should compile down to a byte move from
> >> the input register into x, possibly at an offset within x. */
> >> -/* { dg-final { scan-assembler-times "\tmovb\t%al, x" 4 } } */
> >> +/* { dg-final { scan-assembler-times "movb\[ \\t\]+%al" 4 } } */
> >
> > Shouldn't that better be movb\[^\n\r\]+%al, so that it doesn't
> > fail with -masm=intel ?
>
> Unfortunately, -masm=intel emits "mov ..., al". And since there is
> already plenty of scan-asms for mov[lq], I just took the easy shortcut
> ;)
Ok, let's consider --target_board=unix/-masm=intel as unsupportable then.
Jakub
More information about the Gcc-patches
mailing list