URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 321 |
Rev 338 |
/* Remove the redundant sign-extension after the sign-extraction. */
|
/* Remove the redundant sign-extension after the sign-extraction. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O -march=octeon -mgp64" } */
|
/* { dg-options "-O -march=octeon -mgp64" } */
|
/* { dg-final { scan-assembler-times "\texts\t" 1 } } */
|
/* { dg-final { scan-assembler-times "\texts\t" 1 } } */
|
/* { dg-final { scan-assembler-not "sll|sra" } } */
|
/* { dg-final { scan-assembler-not "sll|sra" } } */
|
|
|
struct bar
|
struct bar
|
{
|
{
|
long long a:18;
|
long long a:18;
|
long long b:14;
|
long long b:14;
|
};
|
};
|
|
|
NOMIPS16 int
|
NOMIPS16 int
|
f1 (struct bar *s)
|
f1 (struct bar *s)
|
{
|
{
|
return s->b;
|
return s->b;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.