Is it a bug when use “<<”if the operator is out of the size "0~63"

2012-02-24 Thread Yang Yueming
Case:
#include 
#include 

long long abc = 0x01234567891abcde;

long long xyz;

int main ()
{

xyz = abc << 65; 

printf("%llx\n", xyz);

return 0;

}




The result of xyz should be "0",but it is "2468acf123579bc" ,same as  xyz = abc 
<< 1,Why?

So as for "int a<<35"and etc..


YangYueming


Improvement of Cortex-A15

2012-01-19 Thread Yang Yueming
I want to do some optimizations for Cortex-A15,Is anyone doing this too or is 
there any work has been done?

Yang Yueming