Work on ARM backend for DMD started
Walter Bright via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Tue Jul 4 14:10:45 PDT 2017
On 7/4/2017 1:15 PM, Stefan Koch wrote:
> Most arm implementation are not as forgiving as contemporary x86 processors when
> it comes to bad register scheduling and the like.
The backend's scheduler is actually very effective. It mattered with the Pentium
and Pentium Pro processors, but not anymore. But the code is still there, and
still works, and the algorithm is sound.
https://github.com/dlang/dmd/blob/master/src/ddmd/backend/cgsched.c
The backend has also been accused of not doing data flow analysis. It does as
good a flow analysis as any compiler.
Where the backend has fallen behind are:
1. loop unrolling
2. better inlining
3. SROA
4. vectorization
More information about the Digitalmars-d-announce
mailing list