mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
aco/tests: fix assembler.gfx11.vop12c_v128 with LLVM 15
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8089 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20747>
This commit is contained in:
parent
9f4f131f2e
commit
b0fa106dc6
1 changed files with 7 additions and 1 deletions
|
|
@ -830,8 +830,14 @@ BEGIN_TEST(assembler.gfx11.vop12c_v128)
|
|||
Operand op_v130(bld.tmp(v1));
|
||||
op_v130.setFixed(PhysReg(256 + 130));
|
||||
|
||||
//! llvm_version: #llvm_ver
|
||||
fprintf(output, "llvm_version: %u\n", LLVM_VERSION_MAJOR);
|
||||
|
||||
//>> BB0:
|
||||
//! v_mul_f16_e32 v0, v1, v2 ; Error: VGPR_32_Lo128: unknown register 128 ; 6a000501
|
||||
//; if llvm_ver >= 16:
|
||||
//; insert_pattern('v_mul_f16_e32 v0, v1, v2 ; Error: VGPR_32_Lo128: unknown register 128 ; 6a000501')
|
||||
//; else:
|
||||
//; insert_pattern('v_mul_f16_e32 v0, v1, v2 ; 6a000501')
|
||||
bld.vop2(aco_opcode::v_mul_f16, dst_v0, op_v1, op_v2);
|
||||
|
||||
//! v_mul_f16_e64 v128, v1, v2 ; d5350080 00020501
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue