Exemple #1
0
 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;
 }
Exemple #2
0
 public VfpuMatrix(CpuEmitter cpuEmitter, VReg vReg, VType vType, int vectorSize)
     : base(cpuEmitter, vReg, vType, vectorSize)
 {
     _indices = VfpuUtils.GetIndicesMatrix(this.VectorSize, vReg.Reg);
 }
Exemple #3
0
 public VfpuVector(CpuEmitter cpuEmitter, VReg vReg, VType vType, int vectorSize)
     : base(cpuEmitter, vReg, vType, vectorSize)
 {
     _indices = VfpuUtils.GetIndicesVector(VectorSize, vReg.Reg);
 }
Exemple #4
0
 public VfpuCell(CpuEmitter cpuEmitter, VReg vReg, VType vType)
     : base(cpuEmitter, vReg, vType, 1)
 {
     _index = VfpuUtils.GetIndexCell(vReg.Reg);
 }