protected VfpuRuntimeRegister(CpuEmitter cpuEmitter, VReg vReg, VType vType, int vectorSize) { Pc = cpuEmitter._pc; Instruction = cpuEmitter._instruction; VReg = vReg; VType = vType; VectorSize = (vectorSize == 0) ? Instruction.OneTwo : vectorSize; }
public VfpuMatrix(CpuEmitter cpuEmitter, VReg vReg, VType vType, int vectorSize) : base(cpuEmitter, vReg, vType, vectorSize) { _indices = VfpuUtils.GetIndicesMatrix(this.VectorSize, vReg.Reg); }
public VfpuVector(CpuEmitter cpuEmitter, VReg vReg, VType vType, int vectorSize) : base(cpuEmitter, vReg, vType, vectorSize) { _indices = VfpuUtils.GetIndicesVector(VectorSize, vReg.Reg); }
public VfpuCell(CpuEmitter cpuEmitter, VReg vReg, VType vType) : base(cpuEmitter, vReg, vType, 1) { _index = VfpuUtils.GetIndexCell(vReg.Reg); }