On Fri, Jan 30, 2015 at 11:13 AM, Jakub Jelinek <ja...@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
;)

Uros.

Reply via email to