tests/tcg/loongarch64: Add div and mod related instructions test
commitfa50579a57abd271109117936c6886d2d1e3d9af
authorSong Gao <gaosong@loongson.cn>
Sat, 16 Jul 2022 08:54:23 +0000 (16 16:54 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 19 Jul 2022 16:23:58 +0000 (19 21:53 +0530)
treee058212f2ab3113ab41c82feda7ae651b5af696b
parenta5661c3ab5d1bf32d1284ee523d33151f3c525aa
tests/tcg/loongarch64: Add div and mod related instructions test

This includes:
- DIV.{W[U]/D[U]}
- MOD.{W[U]/D[U]}

Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20220716085426.3098060-6-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tests/tcg/loongarch64/Makefile.target
tests/tcg/loongarch64/test_div.c [new file with mode: 0644]