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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67090

    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
  • rafanelli
    Phoronix Member
    • Apr 2022
    • 59

    #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

    • NeoMorpheus
      Senior Member
      • Aug 2022
      • 589

      #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

      • rafanelli
        Phoronix Member
        • Apr 2022
        • 59

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

        Comment

        • jabl
          Senior Member
          • Nov 2011
          • 648

          #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

          • tildearrow
            Senior Member
            • Nov 2016
            • 7096

            #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

            • brad0
              Senior Member
              • May 2012
              • 1002

              #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

              • rene
                Senior Member
                • Jul 2015
                • 1484

                #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

                • brad0
                  Senior Member
                  • May 2012
                  • 1002

                  #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

                  • brad0
                    Senior Member
                    • May 2012
                    • 1002

                    #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