Mercurial > hg > pa-neon
comparison 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 |
comparison
equal
deleted
inserted
replaced
2:09ee6a01a3d3 | 3:e889fd0e7769 |
---|---|
711 } | 711 } |
712 | 712 |
713 #endif /* defined(__arm__) */ | 713 #endif /* defined(__arm__) */ |
714 | 714 |
715 int main() { | 715 int main() { |
716 | |
717 /* not in user space | |
718 unsigned cpuid; | |
719 asm volatile( | |
720 "mrc p15, 0, %[cpuid], c0, c0, 0\n\t" | |
721 : [cpuid] "=r" (cpuid) | |
722 : | |
723 : "cc"); | |
724 | |
725 printf("%08x %03x\n", cpuid, (cpuid >> 4) & 0xfff); | |
726 */ | |
727 | |
716 run_test_stereo_to_mono_float(); | 728 run_test_stereo_to_mono_float(); |
717 run_test_stereo_to_mono_s16(); | 729 run_test_stereo_to_mono_s16(); |
718 | 730 |
719 run_test_mono_to_stereo_float(); | 731 run_test_mono_to_stereo_float(); |
720 run_test_mono_to_stereo_s16(); | 732 run_test_mono_to_stereo_s16(); |