Home
last modified time | relevance | path

Searched refs:mult_variants (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tests/tcg/mips/user/isa/r5900/
H A Dtest_r5900_mult.c47 static int64_t mult_variants(int32_t rs, int32_t rt) in mult_variants() function
59 assert(mult_variants(rs, rt) == expected); in verify_mult_negations()
60 assert(mult_variants(-rs, rt) == -expected); in verify_mult_negations()
61 assert(mult_variants(rs, -rt) == -expected); in verify_mult_negations()
62 assert(mult_variants(-rs, -rt) == expected); in verify_mult_negations()
71 assert(mult_variants(-0x80000000, 0x7FFFFFFF) == -0x3FFFFFFF80000000); in main()
72 assert(mult_variants(-0x80000000, -0x7FFFFFFF) == 0x3FFFFFFF80000000); in main()
73 assert(mult_variants(-0x80000000, -0x80000000) == 0x4000000000000000); in main()