Files
linux/arch/mips
Jiong Wang fe4ae21bb0 mips: bpf: fix encoding bug for mm_srlv32_op
[ Upstream commit 17f6c83fb5 ]

For micro-mips, srlv inside POOL32A encoding space should use 0x50
sub-opcode, NOT 0x90.

Some early version ISA doc describes the encoding as 0x90 for both srlv and
srav, this looks to me was a typo. I checked Binutils libopcode
implementation which is using 0x50 for srlv and 0x90 for srav.

v1->v2:
  - Keep mm_srlv32_op sorted by value.

Fixes: f31318fdf3 ("MIPS: uasm: Add srlv uasm instruction")
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-12 19:46:02 +01:00
..
2018-09-26 08:38:00 +02:00
2019-02-12 19:45:58 +01:00
2016-08-03 08:16:30 +02:00
2017-01-25 02:51:11 +01:00
2018-09-26 08:38:03 +02:00
2019-01-09 17:14:52 +01:00
2017-11-03 09:02:30 -07:00
2017-03-08 10:38:06 +01:00
2017-11-03 09:02:30 -07:00
2017-04-10 11:56:07 +02:00