Fix build issues

This commit is contained in:
Thog 2020-01-03 19:09:56 +01:00
commit afe6f87c08
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
2 changed files with 2 additions and 5 deletions

View file

@ -276,7 +276,7 @@ namespace ARMeilleure.Instructions
SetAluDOrZR(context, d); SetAluDOrZR(context, d);
} }
private static Operand EmitReverseBits32Op(ArmEmitterContext context, Operand op) public static Operand EmitReverseBits32Op(ArmEmitterContext context, Operand op)
{ {
Debug.Assert(op.Type == OperandType.I32); Debug.Assert(op.Type == OperandType.I32);

View file

@ -480,11 +480,8 @@ namespace ARMeilleure.Instructions
} }
public static void Rbit(ArmEmitterContext context) public static void Rbit(ArmEmitterContext context)
{ {
OpCode32Alu op = (OpCode32Alu)context.CurrOp;
Operand m = GetAluM(context); Operand m = GetAluM(context);
Operand res = InstEmit.EmitReverseBits32Op(context, m);
Operand res = context.Call(new _U32_U32(SoftFallback.ReverseBits32), m);
EmitAluStore(context, res); EmitAluStore(context, res);
} }