Mercurial > hg > pa-neon
diff remap_neon.c @ 3:e889fd0e7769
stuff
author | Peter Meerwald <p.meerwald@bct-electronic.com> |
---|---|
date | Thu, 05 Jul 2012 17:31:56 +0200 |
parents | 09ee6a01a3d3 |
children | 07763f536182 |
line wrap: on
line diff
--- a/remap_neon.c Wed Jul 04 15:24:08 2012 +0200 +++ b/remap_neon.c Thu Jul 05 17:31:56 2012 +0200 @@ -713,6 +713,18 @@ #endif /* defined(__arm__) */ int main() { + +/* not in user space + unsigned cpuid; + asm volatile( + "mrc p15, 0, %[cpuid], c0, c0, 0\n\t" + : [cpuid] "=r" (cpuid) + : + : "cc"); + + printf("%08x %03x\n", cpuid, (cpuid >> 4) & 0xfff); +*/ + run_test_stereo_to_mono_float(); run_test_stereo_to_mono_s16();