mips: Autodetect MIPS DSP rev1 and rev2 instructionset
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>
Fri, 20 Jul 2012 13:03:56 +0000 (21:03 +0800)
committerQt by Nokia <qt-info@nokia.com>
Sat, 1 Sep 2012 13:28:24 +0000 (15:28 +0200)
commit08e92ba1e009d8b55e4ea44b4169ae80252b24f1
treee63d10f54b6b8c0a54a6ddf7ec75fb0308ab1b8f
parent5f5e9b0e042b6957e826c862a1faa6687cfee671
mips: Autodetect MIPS DSP rev1 and rev2 instructionset

Not every MIPS SoC has the DSP extensions, auto-detect them by using
builtin GCC functions. Check for the DSP macros and add the result
for rev1 and rev2 to the cpufeatures.

Change-Id: I3d6c950f170f102514c43b349f9a23ee796d801a
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
config.tests/arch/arch.cpp
config.tests/unix/mips_dsp/mips_dsp.cpp [new file with mode: 0644]
config.tests/unix/mips_dsp/mips_dsp.pro [new file with mode: 0644]
config.tests/unix/mips_dspr2/mips_dspr2.cpp [new file with mode: 0644]
config.tests/unix/mips_dspr2/mips_dspr2.pro [new file with mode: 0644]
configure