On 8/2/2011 3:23 PM, Trass3r wrote: > Any reason for all those mov x,x 's? No. They'll get removed shortly. I see three problems with dmd's codegen here: 1. those redundant moves 2. failing to merge a couple divides 3. replacing a mul with an add/lea I'll see about taking care of them. (2) is the most likely culprit on the speed.