Removing unused code, via jdarpinian.
This commit is contained in:
@@ -334,7 +334,6 @@ int InstrEmit_stvrx_(PPCFunctionBuilder& f, InstrData& i, uint32_t vd, uint32_t
|
||||
// we could optimize this to prevent the other load/mask, in that case.
|
||||
Value* ea = ra ? f.Add(f.LoadGPR(ra), f.LoadGPR(rb)) : f.LoadGPR(rb);
|
||||
Value* eb = f.And(f.Truncate(ea, INT8_TYPE), f.LoadConstant((int8_t)0xF));
|
||||
Value* ebits = f.Mul(eb, f.LoadConstant((int8_t)8));
|
||||
Value* new_value = f.LoadVR(vd);
|
||||
// ea &= ~0xF (load takes care of this)
|
||||
Value* old_value = f.ByteSwap(f.Load(ea, VEC128_TYPE));
|
||||
|
||||
@@ -957,7 +957,6 @@ XEEMITTER(rlwimix, 0x50000000, M )(PPCFunctionBuilder& f, InstrData& i) {
|
||||
v = f.And(v, f.LoadConstant(m));
|
||||
}
|
||||
v = f.ZeroExtend(v, INT64_TYPE);
|
||||
Value* ra = f.LoadGPR(i.M.RA);
|
||||
v = f.Or(v, f.And(f.LoadGPR(i.M.RA), f.LoadConstant((~(uint64_t)m))));
|
||||
if (i.M.Rc) {
|
||||
f.UpdateCR(0, v);
|
||||
|
||||
Reference in New Issue
Block a user