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

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Dominique d'Humieres from comment #4)
> The following patch
> 
> --- ../_clean/gcc/testsuite/gcc.target/i386/fuse-caller-save-xmm.c
> 2014-07-21 11:21:30.000000000 +0200
> +++ gcc/testsuite/gcc.target/i386/fuse-caller-save-xmm.c      2014-07-21
> 11:44:24.000000000 +0200
> @@ -17,7 +17,7 @@ foo (v2df y)
>  
>  /* Check presence of all insns on xmm registers.  These checks are expected
> to
>     pass with both -fuse-caller-save and -fno-use-caller-save.  */
> -/* { dg-final { scan-assembler-times "addpd\t\\.LC0.*, %xmm0" 1 } } */
> +/* { dg-final { scan-assembler-times "addpd\t\\.?LC0.*, %xmm0" 1 } } */
>  /* { dg-final { scan-assembler-times "addpd\t%xmm1, %xmm0" 1 } } */
>  /* { dg-final { scan-assembler-times "movapd\t%xmm0, %xmm1" 1 } } */
>  
> 
> is needed for darwin (addpd   LC0(%rip), %xmm0).

Looks OK, please commit.

Reply via email to