[Android[ Add StoreArmRegToArmRegPointer
This commit is contained in:
parent
f9cf02ada0
commit
25e2125a63
|
@ -728,6 +728,16 @@ void CArmOps::StoreArmRegToArmRegPointer(ArmReg Reg, ArmReg RegPointer, uint8_t
|
|||
}
|
||||
}
|
||||
|
||||
void CArmOps::StoreFloatingPointControlReg(ArmReg SourceReg)
|
||||
{
|
||||
CPU_Message(" vmsr\tfpscr, %s", ArmRegName(SourceReg));
|
||||
Arm32Opcode op = {0};
|
||||
op.fpscr.opcode2 = 0xA10;
|
||||
op.fpscr.rt = SourceReg;
|
||||
op.fpscr.opcode = 0xEEE1;
|
||||
AddCode32(op.Hex);
|
||||
}
|
||||
|
||||
void CArmOps::StoreFloatRegToArmRegPointer(ArmFpuSingle Reg, ArmReg RegPointer, uint8_t Offset)
|
||||
{
|
||||
if (Offset != 0)
|
||||
|
|
|
@ -167,7 +167,8 @@ protected:
|
|||
static void ShiftRightUnsignImmed(ArmReg DestReg, ArmReg SourceReg, uint32_t shift);
|
||||
static void ShiftLeftImmed(ArmReg DestReg, ArmReg SourceReg, uint32_t shift);
|
||||
static void SignExtendByte(ArmReg Reg);
|
||||
static void StoreArmRegToArmRegPointer(ArmReg Reg, ArmReg RegPointer, uint8_t offset);
|
||||
static void StoreArmRegToArmRegPointer(ArmReg Reg, ArmReg RegPointer, uint8_t Offset);
|
||||
static void StoreFloatingPointControlReg(ArmReg SourceReg);
|
||||
static void StoreFloatRegToArmRegPointer(ArmFpuSingle Reg, ArmReg RegPointer, uint8_t Offset);
|
||||
static void SubConstFromArmReg(ArmReg Reg, uint32_t Const);
|
||||
static void SubConstFromVariable(uint32_t Const, void * Variable, const char * VariableName);
|
||||
|
|
Loading…
Reference in New Issue