commit | 1f3a2c6e229ccb8df8115b04d16ad4832767cf3a | [log] [tgz] |
---|---|---|
author | James Hogan <james.hogan@imgtec.com> | Fri Jan 30 12:09:39 2015 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Fri Mar 27 19:42:48 2015 +0100 |
tree | 9af45f0131586543307d1d116002679e44cabec1 | |
parent | 466aec5f292be469e15b3dc3d17b731dab93727c [diff] |
MIPS: MSA: Fix big-endian FPR_IDX implementation The maximum word size is 64-bits since MSA state is saved using st.d which stores two 64-bit words, therefore reimplement FPR_IDX using xor, and only within each 64-bit word. Signed-off-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9169/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>