Lines Matching refs:opcode

118 	const struct tilegx_opcode* opcode;   member
382 #define PB3(opcode, dst, srca, srcb) \ argument
383 push_3_buffer(compiler, opcode, dst, srca, srcb, __LINE__)
385 #define PB2(opcode, dst, src) \ argument
386 push_2_buffer(compiler, opcode, dst, src, __LINE__)
515 tilegx_pipeline get_any_valid_pipe(const struct tilegx_opcode* opcode) in get_any_valid_pipe() argument
519 …for (pipe = 0; ((opcode->pipes & (1 << pipe)) == 0 && pipe < TILEGX_NUM_PIPELINE_ENCODINGS); pipe+… in get_any_valid_pipe()
526 const struct tilegx_opcode* opcode = NULL; in insert_nop() local
530 opcode = &tilegx_opcodes[opc]; in insert_nop()
531 inst_buf[0].opcode = opcode; in insert_nop()
532 inst_buf[0].pipe = get_any_valid_pipe(opcode); in insert_nop()
542 inst_buf[0].opcode->pipes, in compute_format()
543 inst_buf[1].opcode->pipes, in compute_format()
544 (inst_buf_index == 3 ? inst_buf[2].opcode->pipes : (1 << NO_PIPELINE))); in compute_format()
566 tilegx_mnemonic opc = inst_buf[0].opcode->can_bundle in assign_pipes()
610 const struct tilegx_opcode* opcode = inst->opcode; in get_bundle_bit() local
611 tilegx_bundle_bits bits = opcode->fixed_bit_values[inst->pipe]; in get_bundle_bit()
614 for (i = 0; i < opcode->num_operands; i++) { in get_bundle_bit()
615 operand = &tilegx_operands[opcode->operands[inst->pipe][i]]; in get_bundle_bit()
749 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; in push_4_buffer() local
750 inst_buf[inst_buf_index].opcode = opcode; in push_4_buffer()
751 inst_buf[inst_buf_index].pipe = get_any_valid_pipe(opcode); in push_4_buffer()
769 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; in push_3_buffer() local
770 inst_buf[inst_buf_index].opcode = opcode; in push_3_buffer()
771 inst_buf[inst_buf_index].pipe = get_any_valid_pipe(opcode); in push_3_buffer()
816 printf("unrecoginzed opc: %s\n", opcode->name); in push_3_buffer()
830 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; in push_2_buffer() local
831 inst_buf[inst_buf_index].opcode = opcode; in push_2_buffer()
832 inst_buf[inst_buf_index].pipe = get_any_valid_pipe(opcode); in push_2_buffer()
861 printf("unrecoginzed opc: %s\n", opcode->name); in push_2_buffer()
875 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; in push_0_buffer() local
876 inst_buf[inst_buf_index].opcode = opcode; in push_0_buffer()
877 inst_buf[inst_buf_index].pipe = get_any_valid_pipe(opcode); in push_0_buffer()
891 const struct tilegx_opcode* opcode = &tilegx_opcodes[opc]; in push_jr_buffer() local
892 inst_buf[inst_buf_index].opcode = opcode; in push_jr_buffer()
893 inst_buf[inst_buf_index].pipe = get_any_valid_pipe(opcode); in push_jr_buffer()