gcc has used this on x86-64 since at least version 7.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
compiler-rt/test/builtins/Unit/divmodti4_test.c | ||
---|---|---|
85 | There is no test where the divisor has its high bits set. Will be good adding some coverage here. |
compiler-rt/test/builtins/Unit/divmodti4_test.c | ||
---|---|---|
85 | You mean just the high bit set? |
compiler-rt/test/builtins/Unit/divmodti4_test.c | ||
---|---|---|
85 | The high word. All the existing tests set the high word to 0. |
compiler-rt/test/builtins/Unit/divmodti4_test.c | ||
---|---|---|
85 | Don't the -1, -2, -3 divisors set the high bit of the high word? |
clang-format: please reformat the code