Bug 670329 - Avoid bumping ARM target because of NEON code in gfx. r=jmuizelaar

This commit is contained in:
Mike Hommey 2011-07-15 10:15:28 +02:00
parent c8d8da9ffd
commit b8a5bdd1fc
2 changed files with 7 additions and 0 deletions

View File

@ -50,6 +50,10 @@ void __attribute((noinline,optimize("-fomit-frame-pointer")))
*/
asm volatile (
".fpu neon\n"
/* Allow to build on targets not supporting neon, and force the object file
* target to avoid bumping the final binary target */
".arch armv7-a\n"
".object_arch armv4t\n"
".macro convert_macroblock size\n"
/* load up to 16 source pixels */
".if \\size == 16\n"

View File

@ -36,6 +36,9 @@
.arch armv7-a
.fpu neon
/* Allow to build on targets not supporting neon, and force the object file
* target to avoid bumping the final binary target */
.object_arch armv4t
.text
.align