[Android] Add MoveVariableToFloatReg
This commit is contained in:
parent
51109ffe27
commit
24973f49e2
|
@ -461,6 +461,12 @@ void CArmOps::MoveVariableToArmReg(void * Variable, const char * VariableName, A
|
|||
LoadArmRegPointerToArmReg(reg,reg,0);
|
||||
}
|
||||
|
||||
void CArmOps::MoveVariableToFloatReg(void * Variable, const char * VariableName, ArmFpuSingle reg)
|
||||
{
|
||||
MoveConstToArmReg(Arm_R0,(uint32_t)Variable,VariableName);
|
||||
LoadArmRegPointerToFloatReg(Arm_R0,reg,0);
|
||||
}
|
||||
|
||||
void CArmOps::PushArmReg(uint16_t Registers)
|
||||
{
|
||||
if (Registers == 0)
|
||||
|
|
|
@ -158,6 +158,7 @@ protected:
|
|||
static void MoveConstToVariable(uint32_t Const, void * Variable, const char * VariableName);
|
||||
static void MoveFloatRegToVariable(ArmFpuSingle reg, void * Variable, const char * VariableName);
|
||||
static void MoveVariableToArmReg(void * Variable, const char * VariableName, ArmReg reg);
|
||||
static void MoveVariableToFloatReg(void * Variable, const char * VariableName, ArmFpuSingle reg);
|
||||
static void PushArmReg(uint16_t Registers);
|
||||
static void PopArmReg(uint16_t Registers);
|
||||
static void ShiftRightSignImmed(ArmReg DestReg, ArmReg SourceReg, uint32_t shift);
|
||||
|
|
Loading…
Reference in New Issue