Searched refs:madd_variants (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/tests/tcg/mips/user/isa/r5900/ |
H A D | test_r5900_madd.c | 55 static int64_t madd_variants(int64_t a, int32_t rs, int32_t rt) in madd_variants() function 67 assert(madd_variants(a, rs, rt) == expected); in verify_madd() 68 assert(madd_variants(a, -rs, rt) == a + a - expected); in verify_madd() 69 assert(madd_variants(a, rs, -rt) == a + a - expected); in verify_madd() 70 assert(madd_variants(a, -rs, -rt) == expected); in verify_madd()
|