aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/gen_macros.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-02-20 09:12:36 -0800
committerJason Ekstrand <[email protected]>2016-02-20 09:12:38 -0800
commit1f1cf6fcb0ea7c27b573aab0396942875fa3dba6 (patch)
tree7262655a0681b543600a84e01e7657ffc598e0f0 /src/intel/genxml/gen_macros.h
parent371b4a5b33a13f35fa7783510d2d90685a9a2e8a (diff)
anv: Get rid of GENX_FUNC
It was a bad idea.
Diffstat (limited to 'src/intel/genxml/gen_macros.h')
-rw-r--r--src/intel/genxml/gen_macros.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/intel/genxml/gen_macros.h b/src/intel/genxml/gen_macros.h
index 2c47979f35a..2658d032928 100644
--- a/src/intel/genxml/gen_macros.h
+++ b/src/intel/genxml/gen_macros.h
@@ -88,61 +88,3 @@
#else
# error "Need to add prefixing macros for this gen"
#endif
-
-/* Macros for comparing gens
- *
- * TODO: This wasn't the best idea. We really need to deprecate it.
- */
-#if (GEN_VERSIONx10 >= 70)
-#define __ANV_GEN_GE_GEN7(T, F) T
-#else
-#define __ANV_GEN_GE_GEN7(T, F) F
-#endif
-
-#if (GEN_VERSIONx10 <= 70)
-#define __ANV_GEN_LE_GEN7(T, F) T
-#else
-#define __ANV_GEN_LE_GEN7(T, F) F
-#endif
-
-#if (GEN_VERSIONx10 >= 75)
-#define __ANV_GEN_GE_GEN75(T, F) T
-#else
-#define __ANV_GEN_GE_GEN75(T, F) F
-#endif
-
-#if (GEN_VERSIONx10 <= 75)
-#define __ANV_GEN_LE_GEN75(T, F) T
-#else
-#define __ANV_GEN_LE_GEN75(T, F) F
-#endif
-
-#if (GEN_VERSIONx10 >= 80)
-#define __ANV_GEN_GE_GEN8(T, F) T
-#else
-#define __ANV_GEN_GE_GEN8(T, F) F
-#endif
-
-#if (GEN_VERSIONx10 <= 80)
-#define __ANV_GEN_LE_GEN8(T, F) T
-#else
-#define __ANV_GEN_LE_GEN8(T, F) F
-#endif
-
-#if (GEN_VERSIONx10 >= 90)
-#define __ANV_GEN_GE_GEN9(T, F) T
-#else
-#define __ANV_GEN_GE_GEN9(T, F) F
-#endif
-
-#if (GEN_VERSIONx10 <= 90)
-#define __ANV_GEN_LE_GEN9(T, F) T
-#else
-#define __ANV_GEN_LE_GEN9(T, F) F
-#endif
-
-#define __ANV_GEN_IN_RANGE(start, end, T, F) \
- __ANV_GEN_GE_##start(__ANV_GEN_LE_##end(T, F), F)
-
-/* Declares a function as static inlind if it's not in range */
-#define GENX_FUNC(start, end) __ANV_GEN_IN_RANGE(start, end, , static inline)