gallium: minor optimization to spe_load_int()

This commit is contained in:
Brian Paul 2008-09-12 08:22:15 -06:00
parent be5d8bd078
commit b71f4150c8

View file

@ -505,7 +505,8 @@ spe_load_int(struct spe_function *p, unsigned rT, int i)
}
else {
spe_ilhu(p, rT, i >> 16);
spe_iohl(p, rT, i & 0xffff);
if (i & 0xffff)
spe_iohl(p, rT, i & 0xffff);
}
}