https://github.com/D-Programming-Language/dmd/pull/1893 This is a bit of complex code generation logic. It passes all tests, but it needs to be pulled now in order to get some mileage under it before the release. It should result in substantially improved performance for integer divides.