mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
aco: add src/def count and size for all ALU opcodes
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26163>
This commit is contained in:
parent
d9c3ba3b90
commit
91539713bb
3 changed files with 657 additions and 629 deletions
|
|
@ -2298,6 +2298,8 @@ typedef struct {
|
|||
/* sizes used for input/output modifiers and constants */
|
||||
const unsigned operand_size[static_cast<int>(aco_opcode::num_opcodes)];
|
||||
const instr_class classes[static_cast<int>(aco_opcode::num_opcodes)];
|
||||
const uint32_t definitions[static_cast<int>(aco_opcode::num_opcodes)];
|
||||
const uint32_t operands[static_cast<int>(aco_opcode::num_opcodes)];
|
||||
} Info;
|
||||
|
||||
extern const Info instr_info;
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -80,6 +80,16 @@ extern const aco::Info instr_info = {
|
|||
instr_class::${opcodes[name].cls.value},
|
||||
% endfor
|
||||
},
|
||||
{
|
||||
% for name in opcode_names:
|
||||
${hex(opcodes[name].definitions)},
|
||||
% endfor
|
||||
},
|
||||
{
|
||||
% for name in opcode_names:
|
||||
${hex(opcodes[name].operands)},
|
||||
% endfor
|
||||
},
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue