• Moritz Angermann's avatar
    Adds AArch64 Native Code Generator · 3b1aa7db
    Moritz Angermann authored
    In which we add a new code generator to the Glasgow Haskell
    Compiler. This codegen supports ELF and Mach-O targets, thus covering
    Linux, macOS, and BSDs in principle.  It was tested only on macOS and
    Linux.  The NCG follows a similar structure as the other native code
    generators we already have, and should therfore be realtively easy to
    follow.
    
    It supports most of the features required for a proper native code
    generator, but does not claim to be perfect or fully optimised.  There
    are still opportunities for optimisations.
    
    Metric Decrease:
        ManyAlternatives
        ManyConstructors
        MultiLayerModules
        PmSeriesG
        PmSeriesS
        PmSeriesT
        PmSeriesV
        T10421
        T10421a
        T10858
        T11195
        T11276
        T11303b
        T11374
        T11822
        T12227
        T12545
        T12707
        T13035
        T13253
        T13253-spj
        T13379
        T13701
        T13719
        T14683
        T14697
        T15164
        T15630
        T16577
        T17096
        T17516
        T17836
        T17836b
        T17977
        T17977b
      ...
    3b1aa7db
MachRegs.h 25 KB