]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Add support for emulation of CRC32 instructions
authorYongbok Kim <yongbok.kim@mips.com>
Mon, 29 Jul 2019 17:23:33 +0000 (19:23 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 14 Jul 2025 22:07:46 +0000 (00:07 +0200)
commit9253773cb7ff10d85ccaf4d5f418ea5c7fa31834
tree414f8639d75c0788a5eedc7e485ceca123cb6f1c
parent9a4e273ddec3927920c5958d2226c6b38b543336
target/mips: Add support for emulation of CRC32 instructions

Add emulation of MIPS' CRC32 (Cyclic Redundancy Check) instructions.
Reuse zlib crc32() and Linux crc32c().

Corresponding disassembly has been added in commit 99029be1c28
("target/mips: Add implementation of GINVT instruction").

Signed-off-by: Yongbok Kim <yongbok.kim@mips.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Aleksandar Rakic <aleksandar.rakic@htecgroup.com>
Reviewed-by: Aleksandar Rikalo <arikalo@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <PA4PR09MB486489692D843DDFC25F3CF1846B2@PA4PR09MB4864.eurprd09.prod.outlook.com>
target/mips/cpu-defs.c.inc
target/mips/helper.h
target/mips/meson.build
target/mips/tcg/op_helper.c
target/mips/tcg/rel6.decode
target/mips/tcg/rel6_translate.c
target/mips/tcg/translate.c
target/mips/tcg/translate.h