URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -fdump-tree-dom1" } */
|
/* { dg-options "-O2 -fdump-tree-dom1" } */
|
|
|
typedef unsigned char v4qi __attribute__ ((vector_size (4)));
|
typedef unsigned char v4qi __attribute__ ((vector_size (4)));
|
|
|
v4qi c;
|
v4qi c;
|
|
|
void foo()
|
void foo()
|
{
|
{
|
v4qi a = { 1, 2, 3, 4 };
|
v4qi a = { 1, 2, 3, 4 };
|
v4qi b = { 5, 6, 7, 8 };
|
v4qi b = { 5, 6, 7, 8 };
|
c = a + b;
|
c = a + b;
|
}
|
}
|
|
|
/* { dg-final { scan-tree-dump-times "c = { 6, 8, 10, 12 }" 1 "dom1" } } */
|
/* { dg-final { scan-tree-dump-times "c = { 6, 8, 10, 12 }" 1 "dom1" } } */
|
/* { dg-final { cleanup-tree-dump "dom1" } } */
|
/* { dg-final { cleanup-tree-dump "dom1" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.