aco: support GFX12 in assembler

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Acked-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29162>
This commit is contained in:
Rhys Perry
2024-05-01 19:43:01 +01:00
committed by Marge Bot
parent 74aa6437d6
commit e1e5bc0dd0
5 changed files with 220 additions and 10 deletions
+5
View File
@@ -40,6 +40,11 @@ extern const aco::Info instr_info = {
${instructions[name].op.gfx11},
% endfor
},
{
% for name in opcode_names:
${instructions[name].op.gfx12},
% endfor
},
std::bitset<${len(opcode_names)}>("${can_use_input_modifiers}"),
std::bitset<${len(opcode_names)}>("${can_use_output_modifiers}"),
std::bitset<${len(opcode_names)}>("${is_atomic}"),