mips: intreadwrite: Only execute that code for mips r1 or r2
authorVicente Olivert Riera <Vincent.Riera at imgtec.com>
Fri, 25 Sep 2015 06:56:25 +0000 (08:56 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 29 Sep 2015 16:02:21 +0000 (18:02 +0200)
commit5e783f65c08beec5f8f41521db9ffb9219b28042
tree27bc8e2817f6a3c984b874e704547e8b0c33054e
parent834b812f8a7820514e9683e1e6fd82b8dc4c61e9
mips: intreadwrite: Only execute that code for mips r1 or r2

MIPS R6 supports unaligned memory access and does not have
the load/store-left/right family of instructions.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit d00bb8addccb63fa3feacb06d2a310731dc0113b)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavutil/mips/intreadwrite.h