cell: fix incorrect bitmask in spe_load_uint()

This commit is contained in:
Brian Paul
2008-10-09 19:54:46 -06:00
parent 02aea66b1a
commit 7ac1fc7766
+1 -1
View File
@@ -727,7 +727,7 @@ void spe_load_uint(struct spe_function *p, unsigned rT, unsigned int ui)
* Bytes Immediate (fsmbi) to load the value in a single instruction.
* Otherwise, in the general case, we have to use ilhu followed by iohl.
*/
if ((ui & 0xfffc0000) == ui) {
if ((ui & 0x3ffff) == ui) {
spe_ila(p, rT, ui);
}
else if ((ui >> 16) == (ui & 0xffff)) {