This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, x86] Use vector moves in memmove expanding


On Mon, Sep 09, 2013 at 01:09:12PM +0400, Michael V. Zolotukhin wrote:
> I've never written torture tests before, could you please check if I did it
> right?

Please don't introduce new *.x files, for tests where you need something
like that just stick it into gcc.dg/torture/ instead and use normal dg stuff
in there.

So:
/* { dg-do run } */
/* { dg-additional-options "-march=pentiumpro" { target ia32 } } */                                                                                
/* { dg-additional-options "-minline-all-stringops" { target { i?86-*-* x86_64-*-* } } } */                                                        
in gcc.dg/torture/memcpy-1.c would do it.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]