|
CorTeX Core ABI 7
ToolTech Software · C++ library reference
|
#include <ctxAssembler.h>
Public Member Functions | |
| gzVoid | insertOpcode (const gzUInt32 &opcode) |
| gzVoid | addInstruction () |
| gzVoid | clearProgram () |
| gzUInt64 | getSize () const |
| gzUInt64 | getInstructions () const |
| gzBool | getProgram (gzDynamicArray< gzUInt32 > &program, gzBool clearProgram=TRUE) |
| gzBool | getProgram (gzDynamicLargeArray< gzUInt32 > &program, gzBool clearProgram=TRUE) |
| gzVoid | disasm (gzBool addComment=TRUE, gzBool addOffset=TRUE, gzMessageLevel level=GZ_MESSAGE_DEBUG) |
| gzVoid | disasm (gzSerializeAdapter *adapter, gzBool addComment=TRUE, gzBool addOffset=TRUE) |
| gzBool | importOpcodes (const gzUInt32 *code, gzUInt32 length, gzBool stopAtReturn=TRUE) |
| gzVoid | nop () |
| gzVoid | drop () |
| gzVoid | dup () |
| gzVoid | mul_param (const gzUInt32 ¶m_reg_index) |
| gzVoid | mul_const (const gzFloat &constant) |
| gzVoid | mul () |
| gzVoid | add_param (const gzUInt32 ¶m_reg_index) |
| gzVoid | recall_param (const gzUInt32 ¶m_reg_index) |
| gzVoid | store_value (const gzUInt32 &value_reg_index) |
| gzVoid | recall_value (const gzUInt32 &value_reg_index) |
| gzVoid | recall_input (const gzUInt32 &input_reg_index) |
| gzVoid | recall_input_byte (const gzUInt32 &input_reg_index) |
| gzVoid | test_drop_value (const gzUInt32 &drop_reg_index) |
| gzVoid | zero_drop_value (const gzUInt32 &drop_reg_index) |
| gzVoid | store_delta (const gzUInt32 &delta_reg_index) |
| gzVoid | recall_delta (const gzUInt32 &delta_reg_index) |
| gzVoid | sum_n (const gzUInt32 &n) |
| gzVoid | nfu (const ctxNeuronType &neuron) |
| gzVoid | ndf (const ctxNeuronType &neuron) |
| gzVoid | ret () |
| gzVoid | neg () |
| gzVoid | max_n (const gzUInt32 &n) |
| gzVoid | equ () |
| gzVoid | store_delta_sum (const gzUInt32 &delta_sum_reg_index) |
| gzVoid | recall_delta_sum (const gzUInt32 &delta_sum_reg_index) |
| gzVoid | store_wb (const gzUInt32 &wb_reg_index) |
| gzVoid | recall_wb (const gzUInt32 &wb_reg_index) |
| gzVoid | update_wb (const gzUInt32 &wb_reg_index) |
| gzVoid | math (const ctxMathFuncType &func) |
| gzVoid | skip_n (const gzUInt32 &n) |
| gzVoid | finalize_param (const gzUInt32 ¶m_reg_index, const gzUInt32 &delta_count) |
| gzVoid | finalize_delta (const gzUInt32 &wb_delta_reg_index) |
| gzVoid | store_general (const gzUInt32 &general_reg_index) |
| gzVoid | recall_general (const gzUInt32 &general_reg_index) |
| gzVoid | div () |
| gzVoid | recall_expected (const gzUInt32 &expected_reg_index) |
| gzVoid | sub () |
| gzVoid | load (const gzFloat &constant) |
| gzVoid | store_temp (const gzUInt32 &temp_reg_index) |
| gzVoid | recall_temp (const gzUInt32 &temp_reg_index) |
| gzVoid | sum_4 () |
| gzVoid | max_4 () |
| gzVoid | clamp () |
| gzVoid | gradient_update (const gzUInt32 ¶m_reg_index, const gzUInt32 &delta_reg_index, gzBool use_lambda, const gzUInt32 &depth_level) |
| gzVoid | clear_delta_sum (const gzUInt32 &delta_reg_index, const gzUInt32 &range) |
| gzVoid | collect_delta_sum () |
| gzVoid | mul_n (const gzUInt32 &n) |
| gzVoid | mul_4 () |
| gzVoid | recall_page_value (const gzUInt32 &value_reg_index, const gzInt32 &page_offset) |
| gzVoid | recall_page_delta (const gzUInt32 &delta_reg_index, const gzInt32 &page_offset) |
| gzVoid | mad (const gzUInt32 ®ister_count, ctxRegistrySourceIndex register_a, const gzUInt32 ®ister_a_index, const gzUInt32 ®ister_a_stride, ctxRegistrySourceIndex register_b, const gzUInt32 ®ister_b_index, const gzUInt32 ®ister_b_stride) |
| gzVoid | recall_source (const gzUInt32 ®ister_count, ctxRegistrySourceIndex register_source, const gzUInt32 ®ister_source_index, const gzUInt32 ®ister_source_stride) |
| gzVoid | store_source (const gzUInt32 ®ister_count, ctxRegistrySourceIndex register_source, const gzUInt32 ®ister_source_index, const gzUInt32 ®ister_source_stride) |
| gzUInt32 | compileTempTokens (gzUInt32 command, gzUInt32 sum_count, gzUInt32 steps, gzUInt32 in_id, gzUInt32 shortToken) |
| gzVoid | setBreakInstruction (gzUInt64 position) |
Static Public Member Functions | |
| static gzVoid | disasm (const gzUInt32 *commands, gzUInt32 len, gzBool addComment=TRUE, gzBool addOffset=TRUE, gzMessageLevel level=GZ_MESSAGE_DEBUG) |
| static gzVoid | disasm (gzSerializeAdapter *adapter, const gzUInt32 *commands, gzUInt32 len, gzBool addComment=TRUE, gzBool addOffset=TRUE) |
| static gzVoid | disasmSubRoutine (const gzUInt32 *commands, gzArray< ctxCommandBufferSubRoutine > &subroutines, gzBool showInstructions=FALSE, gzBool showThreadInfo=FALSE, gzInt32 targetPass=-1, gzMessageLevel level=GZ_MESSAGE_DEBUG) |
| static gzVoid | disasmSubRoutine (gzSerializeAdapter *adapter, const gzUInt32 *commands, gzArray< ctxCommandBufferSubRoutine > &subroutines, gzBool showInstructions=FALSE, gzBool showThreadInfo=FALSE, gzInt32 targetPass=-1) |
Definition at line 27 of file ctxAssembler.h.
| gzVoid ctxAssembler::add_param | ( | const gzUInt32 & | param_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::addInstruction | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::clamp | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::clear_delta_sum | ( | const gzUInt32 & | delta_reg_index, |
| const gzUInt32 & | range ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::clearProgram | ( | ) |
References CTX_EXPORT.
Referenced by getProgram(), and getProgram().
| gzVoid ctxAssembler::collect_delta_sum | ( | ) |
References CTX_EXPORT.
| gzUInt32 ctxAssembler::compileTempTokens | ( | gzUInt32 | command, |
| gzUInt32 | sum_count, | ||
| gzUInt32 | steps, | ||
| gzUInt32 | in_id, | ||
| gzUInt32 | shortToken ) |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
| gzVoid ctxAssembler::disasm | ( | gzBool | addComment = TRUE, |
| gzBool | addOffset = TRUE, | ||
| gzMessageLevel | level = GZ_MESSAGE_DEBUG ) |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
| gzVoid ctxAssembler::disasm | ( | gzSerializeAdapter * | adapter, |
| gzBool | addComment = TRUE, | ||
| gzBool | addOffset = TRUE ) |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
| gzVoid ctxAssembler::div | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::drop | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::dup | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::equ | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::finalize_delta | ( | const gzUInt32 & | wb_delta_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::finalize_param | ( | const gzUInt32 & | param_reg_index, |
| const gzUInt32 & | delta_count ) |
References CTX_EXPORT.
| gzUInt64 ctxAssembler::getInstructions | ( | ) | const |
References CTX_EXPORT.
| gzBool ctxAssembler::getProgram | ( | gzDynamicArray< gzUInt32 > & | program, |
| gzBool | clearProgram = TRUE ) |
References clearProgram(), and CTX_EXPORT.
| gzBool ctxAssembler::getProgram | ( | gzDynamicLargeArray< gzUInt32 > & | program, |
| gzBool | clearProgram = TRUE ) |
References clearProgram(), and CTX_EXPORT.
| gzUInt64 ctxAssembler::getSize | ( | ) | const |
References CTX_EXPORT.
| gzVoid ctxAssembler::gradient_update | ( | const gzUInt32 & | param_reg_index, |
| const gzUInt32 & | delta_reg_index, | ||
| gzBool | use_lambda, | ||
| const gzUInt32 & | depth_level ) |
References CTX_EXPORT.
| gzBool ctxAssembler::importOpcodes | ( | const gzUInt32 * | code, |
| gzUInt32 | length, | ||
| gzBool | stopAtReturn = TRUE ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::insertOpcode | ( | const gzUInt32 & | opcode | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::load | ( | const gzFloat & | constant | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::mad | ( | const gzUInt32 & | register_count, |
| ctxRegistrySourceIndex | register_a, | ||
| const gzUInt32 & | register_a_index, | ||
| const gzUInt32 & | register_a_stride, | ||
| ctxRegistrySourceIndex | register_b, | ||
| const gzUInt32 & | register_b_index, | ||
| const gzUInt32 & | register_b_stride ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::math | ( | const ctxMathFuncType & | func | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::max_4 | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::max_n | ( | const gzUInt32 & | n | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::mul | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::mul_4 | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::mul_const | ( | const gzFloat & | constant | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::mul_n | ( | const gzUInt32 & | n | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::mul_param | ( | const gzUInt32 & | param_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::ndf | ( | const ctxNeuronType & | neuron | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::neg | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::nfu | ( | const ctxNeuronType & | neuron | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::nop | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_delta | ( | const gzUInt32 & | delta_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_delta_sum | ( | const gzUInt32 & | delta_sum_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_expected | ( | const gzUInt32 & | expected_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_general | ( | const gzUInt32 & | general_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_input | ( | const gzUInt32 & | input_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_input_byte | ( | const gzUInt32 & | input_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_page_delta | ( | const gzUInt32 & | delta_reg_index, |
| const gzInt32 & | page_offset ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_page_value | ( | const gzUInt32 & | value_reg_index, |
| const gzInt32 & | page_offset ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_param | ( | const gzUInt32 & | param_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_source | ( | const gzUInt32 & | register_count, |
| ctxRegistrySourceIndex | register_source, | ||
| const gzUInt32 & | register_source_index, | ||
| const gzUInt32 & | register_source_stride ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_temp | ( | const gzUInt32 & | temp_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_value | ( | const gzUInt32 & | value_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::recall_wb | ( | const gzUInt32 & | wb_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::ret | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::setBreakInstruction | ( | gzUInt64 | position | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::skip_n | ( | const gzUInt32 & | n | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::store_delta | ( | const gzUInt32 & | delta_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::store_delta_sum | ( | const gzUInt32 & | delta_sum_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::store_general | ( | const gzUInt32 & | general_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::store_source | ( | const gzUInt32 & | register_count, |
| ctxRegistrySourceIndex | register_source, | ||
| const gzUInt32 & | register_source_index, | ||
| const gzUInt32 & | register_source_stride ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::store_temp | ( | const gzUInt32 & | temp_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::store_value | ( | const gzUInt32 & | value_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::store_wb | ( | const gzUInt32 & | wb_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::sub | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::sum_4 | ( | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::sum_n | ( | const gzUInt32 & | n | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::test_drop_value | ( | const gzUInt32 & | drop_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::update_wb | ( | const gzUInt32 & | wb_reg_index | ) |
References CTX_EXPORT.
| gzVoid ctxAssembler::zero_drop_value | ( | const gzUInt32 & | drop_reg_index | ) |
References CTX_EXPORT.