remap_neon: use register r12 instead of r7
authorTanu Kaskinen <tanuk@iki.fi>
Mon, 13 Jul 2020 09:42:14 +0000 (12:42 +0300)
committerArun Raghavan <arun@arunraghavan.net>
Mon, 20 Jul 2020 13:27:44 +0000 (13:27 +0000)
commit5c0ad422a818520337108acd700b1b4744588260
tree4c1089da2f4ef3c387cdc68c71d3bdc0fecb5bd2
parentb5a6365f1862512fc7cf447f68983358e474e8f7
remap_neon: use register r12 instead of r7

When the Thumb instructions set is used and frame pointers are enabled
(-fno-omit-frame-pointer), r7 can't be used, because it's used for the
frame pointer. Trying to use r7 caused the compilation to fail.

Thanks to Andre McCurdy for suggesting[1] this fix, all I had to do was to
test that it works. The code builds now, and cpu-remap-test also
succeeds.

[1] https://lists.openembedded.org/g/openembedded-core/message/136786
src/pulsecore/remap_neon.c