Repo Added
|
Files
89
|
Badge
README BADGES
|
push
github
x86/x64: Don't use undefined MUL/IMUL zero flag. Reported by VrIgHtEr. (cherry picked from commit c92d0cb19) When emitting the arithmetic operations on registers via the `asm_intarith()`, the next `test` instruction may be dropped since the flag register is modified by the arithmetic instruction to be emitted. But the `imul` instruction [1] doesn't modify ZF, so its value is undefined. This patch prevents dropping the `test` instruction if the emitted instruction is `imul`. Sergey Kaplun: * added the description and the test for the problem [1]: https://www.felixcloutier.com/x86/imul Part of tarantool/tarantool#11691
5713 of 6046 branches covered (94.49%)
Branch coverage included in aggregate %.
1 of 1 new or added line in 1 file covered. (100.0%)
21808 of 23512 relevant lines covered (92.75%)
3873227.72 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|