summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/midgard/midgard.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-04-30 06:19:33 +0000
committerAlyssa Rosenzweig <[email protected]>2019-05-04 19:08:50 +0000
commitd42c37e494a544aceefc98dc20c659d48a6cf850 (patch)
tree4596df28fac02d9c0b4b86ead2d19a4e77c376a3 /src/gallium/drivers/panfrost/midgard/midgard.h
parent9559280fc30f46cd2fd675f8e84b26925d205813 (diff)
panfrost/midgard: Rename ilzcnt8 -> iclz
Per OpenCL. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/midgard/midgard.h')
-rw-r--r--src/gallium/drivers/panfrost/midgard/midgard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/midgard/midgard.h b/src/gallium/drivers/panfrost/midgard/midgard.h
index e86f517442d..c2808937b43 100644
--- a/src/gallium/drivers/panfrost/midgard/midgard.h
+++ b/src/gallium/drivers/panfrost/midgard/midgard.h
@@ -94,7 +94,7 @@ typedef enum {
midgard_alu_op_iornot = 0x75, /* (a | ~b) */
midgard_alu_op_ixor = 0x76,
midgard_alu_op_inxor = 0x77, /* ~(a & b) */
- midgard_alu_op_ilzcnt = 0x78, /* Number of zeroes on left. 31 - ilzcnt(x) = findMSB(x) */
+ midgard_alu_op_iclz = 0x78, /* Number of zeroes on left */
midgard_alu_op_ibitcount8 = 0x7A, /* Counts bits in 8-bit increments */
midgard_alu_op_imov = 0x7B,
midgard_alu_op_iabs = 0x7C,