aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_ops.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-11-06 21:49:35 -0500
committerTomeu Vizoso <[email protected]>2019-11-11 15:23:44 +0000
commit5885b64e428ca1d5e6870a6fc5a3d14e57da878b (patch)
tree00fc5b9c957fcbe66a5828eb650d2bbff24fbc91 /src/panfrost/midgard/midgard_ops.c
parent03f73c7fc6666c904ec0ad07c6aaaf175bc41291 (diff)
pan/midgard: Identify ld_color_buffer_u8_as_fp16*
There are two versions of this opcode, depending what version of the ISA you're using. I'm not sure if there's a semantic difference; I think there might be some slight subtleties but it's too early to know at this stage. Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Tomeu Vizoso <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_ops.c')
-rw-r--r--src/panfrost/midgard/midgard_ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_ops.c b/src/panfrost/midgard/midgard_ops.c
index d4a74dc0fb4..14c74f7433c 100644
--- a/src/panfrost/midgard/midgard_ops.c
+++ b/src/panfrost/midgard/midgard_ops.c
@@ -223,7 +223,8 @@ struct mir_ldst_op_props load_store_opcode_props[256] = {
[midgard_op_ld_vary_32u] = {"ld_vary_32u", M32},
[midgard_op_ld_color_buffer_8] = {"ld_color_buffer_8", M8 | LDST_SPECIAL_MASK},
- [midgard_op_ld_color_buffer_16] = {"ld_color_buffer_16", 0},
+ [midgard_op_ld_color_buffer_u8_as_fp16] = {"ld_color_buffer_u8_as_fp16", M16 | LDST_SPECIAL_MASK},
+ [midgard_op_ld_color_buffer_u8_as_fp16_old] = {"ld_color_buffer_u8_as_fp16_old", M16 | LDST_SPECIAL_MASK},
[midgard_op_ld_ubo_char] = {"ld_ubo_char", M32},
[midgard_op_ld_ubo_char2] = {"ld_ubo_char2", M16},