| 222 | } |
| 223 | |
| 224 | static inline int32_t libdivide_mullhi_s32(int32_t x, int32_t y) { |
| 225 | int64_t xl = x, yl = y; |
| 226 | int64_t rl = xl * yl; |
| 227 | // needs to be arithmetic shift |
| 228 | return (int32_t)(rl >> 32); |
| 229 | } |
| 230 | |
| 231 | static inline uint64_t libdivide_mullhi_u64(uint64_t x, uint64_t y) { |
| 232 | #if defined(LIBDIVIDE_VC) && \ |
no outgoing calls
no test coverage detected