/usr/include/eina-1/eina/eina_cpu.h is in libeina-dev 1.8.6-2.5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /* EINA - EFL data type library
* Copyright (C) 2007-2008 Jorge Luis Zapata Muga
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library;
* if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef EINA_CPU_H_
#define EINA_CPU_H_
#include "eina_types.h"
typedef enum _Eina_Cpu_Features
{
EINA_CPU_MMX = 0x00000001,
EINA_CPU_SSE = 0x00000002,
EINA_CPU_SSE2 = 0x00000004,
EINA_CPU_SSE3 = 0x00000008,
/* TODO 3DNow! */
EINA_CPU_ALTIVEC = 0x00000010,
EINA_CPU_VIS = 0x00000020,
EINA_CPU_NEON = 0x00000040,
EINA_CPU_SSSE3 = 0x00000080,
EINA_CPU_SSE41 = 0x00000100,
EINA_CPU_SSE42 = 0x00000200
} Eina_Cpu_Features;
EAPI extern Eina_Cpu_Features eina_cpu_features;
EAPI Eina_Cpu_Features eina_cpu_features_get(void);
EAPI int eina_cpu_count(void);
EAPI int eina_cpu_page_size(void);
static inline unsigned short eina_swap16(unsigned short x);
static inline unsigned int eina_swap32(unsigned int x);
static inline unsigned long long eina_swap64(unsigned long long x);
#include "eina_inline_cpu.x"
#endif /* EINA_CPU_H_ */
|