Announcement

Collapse
No announcement yet.

Apple M2 Support Added To Upstream LLVM Along With The A15, A16

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Apple M2 Support Added To Upstream LLVM Along With The A15, A16

    Phoronix: Apple M2 Support Added To Upstream LLVM Along With The A15, A16

    Upstream LLVM has added the compiler CPU targets for the Apple M2, A15, and A16 SoCs...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    If this was not in LLVM already, how does Apple compile software for these chips? They use LLVM too right? Do they have private branches? Or another compiler?

    Comment


    • #3
      Its Apple helping these people in any way, shape or form?

      If not, they are really geniuses to be able to do all that with almost zero documentation.

      Comment


      • #4
        Thought LLVM was much sponsored by Apple (some say they do not like to have GPL code in their tooling).

        Comment


        • #5
          Originally posted by NeoMorpheus View Post
          Its Apple helping these people in any way, shape or form?

          If not, they are really geniuses to be able to do all that with almost zero documentation.
          Literally the second sentence in the article you're commenting on (emphasis added):

          Apple compiler engineer Tim Northover has contributed the Apple M2 / A15 / A16 CPU targets to the upstream code-base for LLVM/Clang.

          Comment


          • #6
            Originally posted by rafanelli View Post
            If this was not in LLVM already, how does Apple compile software for these chips? They use LLVM too right? Do they have private branches? Or another compiler?
            "Private branches" might be the correct one.
            AppleClang is slightly different from open-source Clang.

            Comment


            • #7
              Originally posted by rafanelli View Post
              If this was not in LLVM already, how does Apple compile software for these chips? They use LLVM too right? Do they have private branches? Or another compiler?
              They have a private fork just as many others do, same goes for others with GCC, but even with that being the case these "support" diffs are always implied to have a lot more of an impact than they do. It wouldn't stop Apple from supporting these systems. The base ISA is what matters.
              Last edited by brad0; 23 September 2022, 03:48 PM.

              Comment


              • #8
                Originally posted by NeoMorpheus View Post
                Its Apple helping these people in any way, shape or form?

                If not, they are really geniuses to be able to do all that with almost zero documentation.
                does not exactly require a genius adding some cpu names and their publicly known supported ISA set to an processor model table, ...

                Comment


                • #9
                  Originally posted by rafanelli View Post
                  Thought LLVM was much sponsored by Apple (some say they do not like to have GPL code in their tooling).
                  They very much do. Apple created Clang. (That is the case and is so for others, but in Apple's case it goes much deeper than that).
                  Last edited by brad0; 23 September 2022, 07:44 PM.

                  Comment


                  • #10
                    Originally posted by jabl View Post
                    Literally the second sentence in the article you're commenting on (emphasis added):
                    People do not read nowadays.

                    Comment

                    Working...
                    X