URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 321 |
Rev 338 |
/* If we AND in DI mode (i.e. replace the order of TRUNCATE and AND) then we
|
/* If we AND in DI mode (i.e. replace the order of TRUNCATE and AND) then we
|
can remove the TRUNCATE. */
|
can remove the TRUNCATE. */
|
/* { dg-options "-O -mgp64" } */
|
/* { dg-options "-O -mgp64" } */
|
/* { dg-final { scan-assembler-not "\tsll\t\[^\n\]*,0" } } */
|
/* { dg-final { scan-assembler-not "\tsll\t\[^\n\]*,0" } } */
|
|
|
struct s
|
struct s
|
{
|
{
|
unsigned a:5;
|
unsigned a:5;
|
};
|
};
|
|
|
NOMIPS16 void
|
NOMIPS16 void
|
f (struct s *s, unsigned long long a)
|
f (struct s *s, unsigned long long a)
|
{
|
{
|
s->a = a & 0x3;
|
s->a = a & 0x3;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.