diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2021-01-22 15:53:18 +0800 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-01-22 11:45:52 +0100 |
commit | 919af8b96c89898b83c32a83b34caff0b4e74335 (patch) | |
tree | c550eec1c85720933179ba8b9344bb9a0b02e0a0 /arch/mips/jazz | |
parent | baec970aa5ba11099ad7a91773350c91fb2113f0 (diff) | |
download | linux-919af8b96c89898b83c32a83b34caff0b4e74335.tar.gz linux-919af8b96c89898b83c32a83b34caff0b4e74335.tar.bz2 linux-919af8b96c89898b83c32a83b34caff0b4e74335.zip |
MIPS: Make definitions of MIPSInst_FMA_{FUNC,FMTM} consistent with MIPS64 manual
The kernel definitions of MIPSInst_FMA_FUNC and MIPSInst_FMA_FFMT are not
consistent with MADD.fmt, NMADD.fmt and NMSUB.fmt in the MIPS64 manual [1],
the field func is bit 5..3 and fmt is bit 2..0, fix them. Otherwise there
exists error when add new instruction simulation.
[1] https://www.mips.com/?do-download=the-mips64-instruction-set-v6-06
Reported-by: Ming Wang <wangming01@loongson.cn>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/jazz')
0 files changed, 0 insertions, 0 deletions