Searched refs:MIPSDSP_OVERFLOW_ADD (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/mips/tcg/ |
H A D | dsp_helper.c | 51 #define MIPSDSP_OVERFLOW_ADD(a, b, c, d) (~((a) ^ (b)) & ((a) ^ (c)) & (d)) macro 142 if (MIPSDSP_OVERFLOW_ADD(a, b, tempI, 0x8000)) { in mipsdsp_add_i16() 156 if (MIPSDSP_OVERFLOW_ADD(a, b, tempS, 0x8000)) { in mipsdsp_sat_add_i16() 175 if (MIPSDSP_OVERFLOW_ADD(a, b, tempI, 0x80000000)) { in mipsdsp_sat_add_i32() 1002 if (MIPSDSP_OVERFLOW_ADD(a, b, temp, 0x80000000)) { in mipsdsp_add_i32() 2486 overflow = MIPSDSP_OVERFLOW_ADD((uint64_t)acc, (uint64_t)dotp, \
|