URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* We used to ICE in tree-ssa-reassoc because we did look at the correct operand to
|
/* We used to ICE in tree-ssa-reassoc because we did look at the correct operand to
|
see if it was a SSA_NAME. */
|
see if it was a SSA_NAME. */
|
int printf(const char*, ...);
|
int printf(const char*, ...);
|
int main(int argv, char*argc) {
|
int main(int argv, char*argc) {
|
|
|
int d1;
|
int d1;
|
int d2;
|
int d2;
|
int s1, s2;
|
int s1, s2;
|
int b;
|
int b;
|
((d1)&=(int)0x0000ffffL, (d1)|=((int)(short)(0x344))<<16);
|
((d1)&=(int)0x0000ffffL, (d1)|=((int)(short)(0x344))<<16);
|
((d1)&=(int)0xffff0000UL, (d1)|=(int)(unsigned short)(0x4567));
|
((d1)&=(int)0xffff0000UL, (d1)|=(int)(unsigned short)(0x4567));
|
((d2)&=(int)0x0000ffffL, (d2)|=((int)(short)(0))<<16);
|
((d2)&=(int)0x0000ffffL, (d2)|=((int)(short)(0))<<16);
|
((d2)&=(int)0xffff0000UL, (d2)|=(int)(unsigned short)(0x3b9a));
|
((d2)&=(int)0xffff0000UL, (d2)|=(int)(unsigned short)(0x3b9a));
|
printf(" dividend >>: %ld\n", d1);
|
printf(" dividend >>: %ld\n", d1);
|
printf(" divisor >>: %ld\n", d2);
|
printf(" divisor >>: %ld\n", d2);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.