URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr33953.c] - Rev 298
Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-require-effective-target vect_int } */ typedef unsigned int UINT32; void blockmove_NtoN_blend_noremap32 (const UINT32 *srcdata, int srcwidth, int srcheight, int srcmodulo, UINT32 *dstdata, int dstmodulo, int srcshift) { UINT32 *end; while (srcheight) { while (dstdata <= end - 8) { dstdata[0] |= srcdata[0] << srcshift; dstdata[1] |= srcdata[1] << srcshift; dstdata[2] |= srcdata[2] << srcshift; dstdata[3] |= srcdata[3] << srcshift; dstdata[4] |= srcdata[4] << srcshift; dstdata[5] |= srcdata[5] << srcshift; dstdata[6] |= srcdata[6] << srcshift; dstdata[7] |= srcdata[7] << srcshift; dstdata += 8; srcdata += 8; } } } /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" {xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" {xfail vect_no_align } } } */ /* { dg-final { cleanup-tree-dump "vect" } } */