projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pan/bi: Handle fp16/abs scheduling restriction
[mesa.git]
/
src
/
panfrost
/
bifrost
/
compiler.h
diff --git
a/src/panfrost/bifrost/compiler.h
b/src/panfrost/bifrost/compiler.h
index 554cd4e93d730bb2029a9df4f27b1d09632be792..9cfd0c67d15894402eb019d05d8836d38934752b 100644
(file)
--- a/
src/panfrost/bifrost/compiler.h
+++ b/
src/panfrost/bifrost/compiler.h
@@
-121,6
+121,9
@@
extern unsigned bi_class_props[BI_NUM_CLASSES];
#define BI_DATA_REG_SRC (1 << 9)
#define BI_DATA_REG_DEST (1 << 10)
+/* Quirk: cannot encode multiple abs on FMA in fp16 mode */
+#define BI_NO_ABS_ABS_FP16_FMA (1 << 11)
+
/* It can't get any worse than csel4... can it? */
#define BIR_SRC_COUNT 4