summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_cpu.h
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2020-05-08 10:47:26 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2020-05-08 12:32:09 +0200
commit361aa83a170f436c26b61e02babe725eb9db8762 (patch)
tree99a7475e22a0eeacbf0be0fe8308dd1ff71d3b89 /src/lib/eina/eina_cpu.h
parent88d1c886bd2bc47b5eaeaac4b15ae9434103bdf2 (diff)
doxygen docs: Complete docs for Eina CPU functions
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_cpu.h30
1 files changed, 19 insertions, 11 deletions
diff --git a/src/lib/eina/eina_cpu.h b/src/lib/eina/eina_cpu.h
index 35172a7a3b..b3b3c04747 100644
--- a/src/lib/eina/eina_cpu.h
+++ b/src/lib/eina/eina_cpu.h
@@ -45,18 +45,18 @@
45 */ 45 */
46typedef enum _Eina_Cpu_Features 46typedef enum _Eina_Cpu_Features
47{ 47{
48 EINA_CPU_MMX = 0x00000001, 48 EINA_CPU_MMX = 0x00000001, /**< Multimedia Extensions (Intel) */
49 EINA_CPU_SSE = 0x00000002, 49 EINA_CPU_SSE = 0x00000002, /**< Streaming SIMD Extensions (Intel) */
50 EINA_CPU_SSE2 = 0x00000004, 50 EINA_CPU_SSE2 = 0x00000004, /**< Streaming SIMD Extensions 2 (Intel) */
51 EINA_CPU_SSE3 = 0x00000008, 51 EINA_CPU_SSE3 = 0x00000008, /**< Streaming SIMD Extensions 3 (Intel) */
52 /* TODO 3DNow! */ 52 /* TODO 3DNow! */
53 EINA_CPU_ALTIVEC = 0x00000010, 53 EINA_CPU_ALTIVEC = 0x00000010, /**< Single-precision floating point and integer SIMD (PowerPC) */
54 EINA_CPU_VIS = 0x00000020, 54 EINA_CPU_VIS = 0x00000020, /**< Visual Instruction Set (Spark) */
55 EINA_CPU_NEON = 0x00000040, 55 EINA_CPU_NEON = 0x00000040, /**< Advanced SIMD Extension (ARM) */
56 EINA_CPU_SSSE3 = 0x00000080, 56 EINA_CPU_SSSE3 = 0x00000080, /**< Supplemental Streaming SIMD Extension 3 (Intel) */
57 EINA_CPU_SSE41 = 0x00000100, 57 EINA_CPU_SSE41 = 0x00000100, /**< Streaming SIMD Extension 4.1 (Intel) */
58 EINA_CPU_SSE42 = 0x00000200, 58 EINA_CPU_SSE42 = 0x00000200, /**< Streaming SIMD Extension 4.2 (Intel) */
59 EINA_CPU_SVE = 0x00000400 59 EINA_CPU_SVE = 0x00000400 /**< Scalable Vector Extension (ARM) */
60} Eina_Cpu_Features; 60} Eina_Cpu_Features;
61 61
62/** 62/**
@@ -136,10 +136,18 @@ static inline unsigned int eina_ntohl(unsigned int net);
136static inline unsigned long long eina_ntohll(unsigned long long net); 136static inline unsigned long long eina_ntohll(unsigned long long net);
137 137
138#ifndef MIN 138#ifndef MIN
139/** Returns the minimum of the two parameters
140 * @warning Beware of side effects, since the returned parameter is evaluated
141 * twice.
142 */
139# define MIN(x, y) (((x) > (y)) ? (y) : (x)) 143# define MIN(x, y) (((x) > (y)) ? (y) : (x))
140#endif 144#endif
141 145
142#ifndef MAX 146#ifndef MAX
147/** Returns the maximum of the two parameters
148 * @warning Beware of side effects, since the returned parameter is evaluated
149 * twice.
150 */
143# define MAX(x, y) (((x) > (y)) ? (x) : (y)) 151# define MAX(x, y) (((x) > (y)) ? (x) : (y))
144#endif 152#endif
145 153