Hi, just creating a simple too to get version strings, when there is a "buggy" I load the first 64K of the file and then try to fiind '$VER', just want to know which "method" can be the best/fastest.
In an altivec optimised function I'm writing I want to mask out some of the bytes read.
To generate the mask vector I was going to use:
mask = vec_sld(vec_splat_u8(-1), vec_splat_u8(0), 16 - remains);
but it turns out that you have to use a literal as the last parameter to vec_sld().
If anyone can suggest a method to efficiently generate a vector with the first x bytes set to 0xff and the others set to 0x00 then it would help me a lot.
I'm trying to induce a pause in an application that renders to the screen. Currently I'm using IDos->Delay(1) but I'd like to have more then 50'th of a second and I'd prefer not to use a Delay. I'd love some tips!
hope this is the write forum for this. How do developers keep versions of their source files, in the case of a programmer working alone? For collaborative projects with many programmers there are tools as subversion. For beginners like me, or working alone, how should I keep track of my revisions? Is there a common technique?