summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanylo Piliaiev <dpiliaiev@igalia.com>2023-02-22 19:34:54 +0100
committerMarge Bot <emma+marge@anholt.net>2023-04-27 21:06:47 +0000
commitb909eda0b36e6035b502807aad5df1f810822e82 (patch)
tree2508a2c83f64e5484e21ac086f7e24c9af663f54
parent11b2c54a9a44c164a55ddb3de127e8fc19a065a6 (diff)
downloadmesa-b909eda0b36e6035b502807aad5df1f810822e82.tar.gz
ir3: Document that stc has higher DST upper bound than we defined
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21498>
-rw-r--r--src/freedreno/ir3/tests/disasm.c3
-rw-r--r--src/freedreno/isa/ir3-cat6.xml3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/freedreno/ir3/tests/disasm.c b/src/freedreno/ir3/tests/disasm.c
index f4f327c4a95..6e2f0075051 100644
--- a/src/freedreno/ir3/tests/disasm.c
+++ b/src/freedreno/ir3/tests/disasm.c
@@ -240,6 +240,9 @@ static const struct test {
INSTR_6XX(c7020020_01800000, "stc.f32 c[32], r0.x, 1"), /* stc c[32], r0.x, 1 */
/* dEQP-VK.image.image_size.cube_array.readonly_writeonly_1x1x12 */
INSTR_6XX(c7060020_03800000, "stc.u32 c[32], r0.x, 3"), /* stc c[32], r0.x, 3 */
+ /* A660 EQP-VK.robustness.robustness2.push.notemplate.r32i.unroll.nonvolatile.sampled_image.no_fmt_qual.img.samples_1.1d.frag */
+ /* TODO: stc has a similar to stsc DST range */
+ /* INSTR_6XX(c702026e_0480025c, "stc.u32 c[366], r11.z, 4"), */ /* stc c[366], r11.z, 4 */
/* dEQP-VK.pipeline.monolithic.extended_dynamic_state.two_draws_static.stencil_state_face_both_single_gt_replace_clear_102_ref_103_depthfail */
INSTR_7XX(c7420000_0cc00000, "stsc.f32 c[0], 0, 12"),
diff --git a/src/freedreno/isa/ir3-cat6.xml b/src/freedreno/isa/ir3-cat6.xml
index 629172783c9..7a288d4e521 100644
--- a/src/freedreno/isa/ir3-cat6.xml
+++ b/src/freedreno/isa/ir3-cat6.xml
@@ -445,7 +445,8 @@ SOFTWARE.
<gen min="600"/>
<pattern pos="0" >x</pattern>
<field low="1" high="8" name="SRC" type="#reg-gpr"/>
- <pattern low="9" high="22">xxxxxxxxxxxxxx</pattern>
+ <pattern low="9" high="13">xxxxx</pattern> <!-- DST_HI -->
+ <pattern low="14" high="22">xxxxxxxxxxxxxx</pattern>
<pattern pos="23" >1</pattern>
<field low="24" high="26" name="SIZE" type="uint"/>
<pattern low="27" high="31">xxxxx</pattern>