arm: implement ARM cpu detection

This commit is contained in:
Wim Taymans 2009-08-19 19:51:11 +02:00
parent 078bde1b49
commit 8aa86f5247
2 changed files with 107 additions and 7 deletions

View file

@ -27,8 +27,11 @@
typedef enum pa_cpu_arm_flag {
PA_CPU_ARM_V6 = (1 << 0),
PA_CPU_ARM_NEON = (1 << 1),
PA_CPU_ARM_VFP = (1 << 2)
PA_CPU_ARM_V7 = (1 << 1),
PA_CPU_ARM_VFP = (1 << 2),
PA_CPU_ARM_EDSP = (1 << 3),
PA_CPU_ARM_NEON = (1 << 4),
PA_CPU_ARM_VFPV3 = (1 << 5)
} pa_cpu_arm_flag_t;
void pa_cpu_init_arm (void);