Sorry, got confused with jor17 and the original post (I see you're already using the same flags that I posted). Wine does seem to be sensitive to compiler optimisation. You could try just applying these optimisations to wined3d if you're looking for more D3D performance. Profile guided optimisation works well there too.