CSPspEmu.Core.Cpu.Emitter.CpuEmitter.vcrs_t C# (CSharp) Method

vcrs_t() public method

public vcrs_t ( ) : AstNodeStm
return AstNodeStm
        public AstNodeStm vcrs_t()
        {
            var V_VD = VEC(VD, VType.VFloat, 3);
            var V_VS = VEC(VS, VType.VFloat, 3);
            var V_VT = VEC(VT, VType.VFloat, 3);
            return V_VD.SetVector(Index =>
            {
                switch (Index)
                {
                    case 0: return V_VS[1] * V_VT[2];
                    case 1: return V_VS[2] * V_VT[0];
                    case 2: return V_VS[0] * V_VT[1];
                    default: throw (new InvalidOperationException("vcrs_t.Assert!"));
                }
            }, PC);
        }
CpuEmitter