コード例 #1
0
            /// <summary cref="IComplexCommandEmitter.Emit(CommandEmitter, RegisterAllocator{PTXRegisterKind}.PrimitiveRegister[])"/>
            public void Emit(CommandEmitter commandEmitter, PrimitiveRegister[] registers)
            {
                var primaryRegister = registers[0];

                commandEmitter.AppendRegisterMovementSuffix(primaryRegister.BasicValueType);
                commandEmitter.AppendArgument(primaryRegister);
                commandEmitter.AppendArgument(registers[1]);
            }
コード例 #2
0
 /// <summary>
 /// Emits nested predicates.
 /// </summary>
 public void Emit(
     CommandEmitter commandEmitter,
     PrimitiveRegister[] registers)
 {
     commandEmitter.AppendArgument(registers[0]);
     commandEmitter.AppendArgument(registers[1]);
     commandEmitter.AppendArgument(registers[2]);
     commandEmitter.AppendArgument(PredicateRegister);
 }