Broken and.

This commit is contained in:
Ben Vanik 2014-01-05 16:22:32 -08:00
parent 0f95864b8d
commit a78447f015
1 changed files with 1 additions and 1 deletions

View File

@ -1225,7 +1225,7 @@ XEEMITTER(srawix, 0x7C000670, X )(PPCHIRBuilder& f, InstrData& i) {
uint32_t mask = (uint32_t)XEMASK(64 - i.X.RB, 63); uint32_t mask = (uint32_t)XEMASK(64 - i.X.RB, 63);
ca = f.And( ca = f.And(
f.Shr(v, 31), f.Shr(v, 31),
f.IsTrue(f.And(v, f.LoadConstant(mask)))); f.ZeroExtend(f.IsTrue(f.And(v, f.LoadConstant(mask))), INT32_TYPE));
v = f.Sha(v, (int8_t)i.X.RB), v = f.Sha(v, (int8_t)i.X.RB),
v = f.SignExtend(v, INT64_TYPE); v = f.SignExtend(v, INT64_TYPE);