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

vbfy2() public method

public vbfy2 ( ) : AstNodeStm
return AstNodeStm
        public AstNodeStm vbfy2()
        {
            return VEC_VD.SetVector(Index =>
            {
                switch (Index)
                {
                    case 0: return VEC_VS[0] + VEC_VS[2];
                    case 1: return VEC_VS[1] + VEC_VS[3];
                    case 2: return VEC_VS[0] - VEC_VS[2];
                    case 3: return VEC_VS[1] - VEC_VS[3];
                    default: throw (new InvalidOperationException("vbfy2.Assert!"));
                }
            }, PC);
        }
CpuEmitter