mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
etnaviv: isa: Add movai opcode
Encoded instruction is taken from blob running: - dEQP-GLES3.functional.shaders.struct.uniform.dynamic_loop_struct_array_fragment Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27871>
This commit is contained in:
parent
73584cf46a
commit
2e2a0e8059
2 changed files with 6 additions and 0 deletions
|
|
@ -1145,6 +1145,11 @@ SPDX-License-Identifier: MIT
|
|||
<pattern pos="80">1</pattern> <!-- OPCODE_BIT6 -->
|
||||
</bitset>
|
||||
|
||||
<bitset name="movai" extends="#instruction-alu-src2">
|
||||
<pattern low="0" high="5">010110</pattern> <!-- OPC -->
|
||||
<pattern pos="80">1</pattern> <!-- OPCODE_BIT6 -->
|
||||
</bitset>
|
||||
|
||||
<bitset name="iabs" extends="#instruction-alu-src2">
|
||||
<pattern low="0" high="5">010111</pattern> <!-- OPC -->
|
||||
<pattern pos="80">1</pattern> <!-- OPCODE_BIT6 -->
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@ INSTANTIATE_TEST_SUITE_P(Opcodes, DisasmTest,
|
|||
disasm_state{ {0x0080101f, 0x00000004, 0x40010000, 0x00000018}, "not.s32 t0.x___, void, void, t1.xxxx\n"},
|
||||
disasm_state{ {0x00811020, 0x00001804, 0x40010140, 0x00000038}, "bit_extract.s32 t1.x___, t1.xxxx, t2.xxxx, t3.xxxx\n"},
|
||||
disasm_state{ {0x00801021, 0x00000004, 0x00010000, 0x00000008}, "popcount t0.x___, void, void, t0.xxxx\n"},
|
||||
disasm_state{ {0x02000016, 0x00200000, 0x80010000, 0x003fc018}, "movai.u32.pack void, void, void, t1.wwww\n"},
|
||||
disasm_state{ {0x00801017, 0x00000004, 0x40010000, 0x00000018}, "iabs.s32 t0.x___, void, void, t1.xxxx\n"},
|
||||
disasm_state{ {0x00801018, 0x00000004, 0x40010000, 0x00000008}, "leadzero.s32 t0.x___, void, void, t0.xxxx\n"},
|
||||
disasm_state{ {0x00801019, 0x15400804, 0x40010000, 0x74000028}, "lshift.s32 t0.x___, t0.yyyy, void, 2\n"},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue