Alder Lake and AVX-512

By: Linus Torvalds (torvalds.delete@this.linux-foundation.org),
Room: Moderated Discussions
Geoff Langdale (geoff.langdale.delete@this.gmail.com) on July 11, 2020 7:49 pm wrote:
>
> But we have some SIMD-based table lookup
> stuff that's way faster than the integer equivalent both because you're doing a lot of stuff at once, but you're
> also doing stuff where there's no integer equivalent (there's no PSHUFB for a GPR register).

Yeah, and we might even use some of it. We have places where we do "vectorization" by hand and use integer registers to hold as many bytes as possible, and look for '/' or the terminating NUL byte (obviously I'm talking about filename copies) and create a hash of the result at the same time, one (integer) word at a time.

We could possibly even have an AVX512 version.

If it was available, and if it didn't tank performance due to frequency issues.

But it isn't, and it does.

Fragmentation kills your market. The fact is, AVX512 isn't worth it, because it's not reliably enough there. And I don't think it's reasonably ever going to be, because it was never designed to work on low end.

With a new not-even-released-yet CPU's not supporting it being a case in point.

And that makes AVX512 actively bad. It was literally designed not to be used in any generic code, and is basically only useful for "hey, we have this kernel of code that is so hot that we'll just create five different versions of it.

What part of that is hard to understand? It sure seems to be something Intel cannot get its head around, since Intel keeps making that mistake over and over again.

Linus
< Previous Post in ThreadNext Post in Thread >
Thread (327 posts)
TopicPosted ByPosted
Alder Lake and AVX-512me
  Alder Lake and AVX-512Linus Torvalds
    informative (NT)blue
    grumpyMichael S
      grumpyme
    area and power cost of AVX-512Michael S
      area and power cost of AVX-512Anon
        area and power cost of AVX-512Michael S
          area and power cost of AVX-512Travis Downs
      area and power cost of AVX-512Travis Downs
    Alder Lake and AVX-512Maynard Handley
      Alder Lake and AVX-512Ungo
        Alder Lake and AVX-512Maynard Handley
      Alder Lake and AVX-512Linus Torvalds
        Alder Lake and AVX-512
          Alder Lake and AVX-512Michael S
          HDRAnon3
            HDR10 in Kaby Lake?David Kanter
              HDR10 in Kaby Lake?Maynard Handley
                Thanks for the link (NT)David Kanter
              HDR10 in Kaby Lake?Anon3
        Alder Lake and AVX-512Dummond D. Slow
        AVX-512 with narrow ex units?m
          AVX-512 with narrow ex units?Anon
            AVX-512 with narrow ex units?Paul A. Clayton
              AVX-512 with narrow ex units?Anon
                AVX-512 with narrow ex units?Paul A. Clayton
                  AVX-512 with narrow ex units?Anon
                    AVX-512 with narrow ex units?Jukka Larja
                      AVX-512 with narrow ex units?Gabriele Svelto
                        AVX-512 with narrow ex units?Jouni Osmala
                          AVX-512 with narrow ex units?Jukka Larja
                      AVX-512 with narrow ex units?Eugene Nalimov
                        AVX-512 with narrow ex units?Jukka Larja
                        AVX-512 with narrow ex units?Gabriele Svelto
                          AVX-512 with narrow ex units?Jukka Larja
          AVX-512 with narrow ex units?-.-
            AVX-512 with narrow ex units?Travis Downs
    Alder Lake and AVX-512Jörn Engel
      Alder Lake and AVX-512Chester
        Alder Lake and AVX-512Jörn Engel
        Alder Lake and AVX-512Michael S
        Alder Lake and AVX-512Travis Downs
      Alder Lake and AVX-512Linus Torvalds
        Alder Lake and AVX-512Jörn Engel
          Alder Lake and AVX-512N Owen
            Alder Lake and AVX-512Michael S
            Alder Lake and AVX-512anon2
          Alder Lake and AVX-512Travis Downs
            Alder Lake and AVX-512Jörn Engel
      Alder Lake and AVX-512Doug S
        Alder Lake and AVX-512Michael S
    Alder Lake and AVX-512Travis Downs
      Alder Lake and AVX-512Veedrac
        Alder Lake and AVX-512anon2
          Alder Lake and AVX-512Veedrac
            Alder Lake and AVX-512anon2
              Alder Lake and AVX-512Anon3
                Alder Lake and AVX-512anon2
              Alder Lake and AVX-512Veedrac
                Alder Lake and AVX-512anon2
                  Alder Lake and AVX-512Veedrac
                    Alder Lake and AVX-512anon2
                  Alder Lake and AVX-512David Hess
                    Alder Lake and AVX-512anon2
                Alder Lake and AVX-512
                  Alder Lake and AVX-512anon2
                    PentiumMMX vs Transmeta's VLIW in hindsight
                      PentiumMMX vs Transmeta's VLIW in hindsightMaynard Handley
                      PentiumMMX vs Transmeta's VLIW in hindsightanon2
                      VLIW, OOO, Pairing, and FusionChester
                        Poulson was in-order (NT)anon2
                        VLIW, OOO, Pairing, and FusionMichael S
                        Itanium is NOT VLIWHeikki Kultala
                          Itanium is NOT VLIWAdrian
                            Itanium crappiness and EPIC - and could EPIC still have something good in it?Heikki Kultala
                              Itanium crappiness and EPIC - and could EPIC still have something good in it?anon2
                                Itanium crappiness and EPIC - and could EPIC still have something good in it?dmcq
                              Itanium crappiness and EPIC - and could EPIC still have something good in it?j
                                Itanium crappiness and EPIC - and could EPIC still have something good in it?Tim McCaffrey
                              Itanium crappiness and EPIC - and could EPIC still have something good in it?Linus Torvalds
                                Itanium is not synomym of EPIC. Itanium is just the most common EPIC-style architectureHeikki Kultala
                                  Turn that on its head?Ray
                                    Turn that on its head?Anon
                                    Turn that on its head?Maynard Handley
                                    Turn that on its head?anon2
                                    Turn that on its head?anon3
                                    Turn that on its head?Heikki Kultala
                                      Turn that on its head?Anon
                                        Turn that on its head?Heikki Kultala
                                          Turn that on its head?Brett
                                            Turn that on its head?Brett
                                      Bundling OOO entries does this implicitlyDavid Kanter
                                      Turn that on its head?anon
                                  Itanium is not synomym of EPIC. Itanium is just the most common EPIC-style architectureMaynard Handley
                                  Itanium is not synomym of EPIC. Itanium is just the most common EPIC-style architecturewumpus
                                    Itanium is not synomym of EPIC. Itanium is just the most common EPIC-style architectureDoug S
                                      what Intel would have doneMichael S
                                        what Intel would have doneDoug S
                                        what Intel would have doneAnon
                                          what Intel would have doneMichael S
                                            what Intel would have doneMontaray Jack
                                    Itanium is not synomym of EPIC. Itanium is just the most common EPIC-style architectureHeikki Kultala
                                      Itanium is not synomym of EPIC. Itanium is just the most common EPIC-style architecturewumpus
                                  Itanium is not synomym of EPIC. Itanium is just the most common EPIC-style architectureMichael S
                                    Itanium is not synomym of EPIC. Itanium is just the most common EPIC-style architectureHeikki Kultala
                          thanksChester
      Alder Lake and AVX-512Linus Torvalds
        Alder Lake and AVX-512never_released
          Alder Lake and AVX-512Michael S
        Alder Lake and AVX-512anon2
      Alder Lake and AVX-512Doug S
      Alder Lake and AVX-512Michael S
        Alder Lake and AVX-512rwessel
      Alder Lake and AVX-512-.-
        Alder Lake and AVX-512Travis Downs
    Alder Lake and AVX-512Geoff Langdale
      Alder Lake and AVX-512anon
      Alder Lake and AVX-512Jörn Engel
        Alder Lake and AVX-512Michael S
        Alder Lake and AVX-512Jukka Larja
          Alder Lake and AVX-512Maynard Handley
            Alder Lake and AVX-512Jukka Larja
              Alder Lake and AVX-512Montaray Jack
                Alder Lake and AVX-512Jukka Larja
          Alder Lake and AVX-512Jörn Engel
            Alder Lake and AVX-512Linus Torvalds
              Alder Lake and AVX-512Linus Torvalds
                Alder Lake and AVX-512anonymou5
                  Alder Lake and AVX-512Linus Torvalds
                    Alder Lake and AVX-512anonymou5
                      Alder Lake and AVX-512Linus Torvalds
                        Alder Lake and AVX-512anonymou5
                          Alder Lake and AVX-512Jose
                  Alder Lake and AVX-512gallier2
                Alder Lake and AVX-512gallier2
                  Alder Lake and AVX-512Linus Torvalds
                    Alder Lake and AVX-512Doug S
                      Alder Lake and AVX-512Brett
                        Alder Lake and AVX-512Linus Torvalds
                          Alder Lake and AVX-512Maynard Handley
                            Alder Lake and AVX-512Michael S
                            Alder Lake and AVX-512Linus Torvalds
                              OS X file names normalizationMichael S
                                OS X file names normalizationSimon Farnsworth
                                  OS X file names normalizationMichael S
                                    OS X file names normalizationSimon Farnsworth
                                OS X file names normalizationDoug S
                                  OS X file names normalizationMichael S
                                    OS X file names normalizationLinus Torvalds
                                      OS X file names normalizationLinus Torvalds
                                      OS X file names normalizationgallier2
                                    OS X file names normalizationgallier2
                                  OS X file names normalizationRob Thorpe
                                    OS X file names normalizationDoug S
                                      OS X file names normalizationMaynard Handley
                                        OS X file names normalizationLinus Torvalds
                                          OS X file names normalizationAnon3
                                            OS X file names normalizationDoug S
                                              OS X file names normalizationLinus Torvalds
                                                OS X file names normalizationAnon3
                                                  OS X file names normalizationJukka Larja
                                                OS X file names normalizationgallier2
                                                  OS X file names normalizationLinus Torvalds
                                                    OS X file names normalizationDummond D. Slow
                                                      OS X file names normalizationLinus Torvalds
                                                      OS X file names normalizationSimon Farnsworth
                                              OS X file names normalizationAnon3
                                                OS X file names normalizationDoug S
                              Alder Lake and AVX-512Maynard Handley
                            File Systems and VC ProblemsRob Thorpe
                    vectorization of utf8Robert David Graham
                      vectorization of utf8anon2
                        vectorization of utf8Robert David Graham
                          vectorization of utf8anon2
                        vectorization of utf8Maynard Handley
                      vectorization of utf8Gabriele Svelto
                    Alder Lake and AVX-512gallier2
              Alder Lake and AVX-512Jörn Engel
                Alder Lake and AVX-512Linus Torvalds
                  Alder Lake and AVX-512Jörn Engel
                    Alder Lake and AVX-512-.-
                      Alder Lake and AVX-512Jörn Engel
            Alder Lake and AVX-512Jukka Larja
              Alder Lake and AVX-512Jörn Engel
                Alder Lake and AVX-512Michael S
                  Alder Lake and AVX-512Jörn Engel
                    Alder Lake and AVX-512Michael S
                      Alder Lake and AVX-512Jörn Engel
                Alder Lake and AVX-512Jukka Larja
      Alder Lake and AVX-512Linus Torvalds
        Alder Lake and AVX-512Brett
          Alder Lake and AVX-512David Hess
            Alder Lake and AVX-512anonymou5
              Alder Lake and AVX-512Brett
        Alder Lake and AVX-512Geert
          AMD's FPUChester
            Is 3|5 lower than 4?Michael S
              Is 3|5 lower than 4?Chester
        Alder Lake and AVX-512Geoff Langdale
          Alder Lake and AVX-512me
          Alder Lake and AVX-512Michael S
          Alder Lake and AVX-512Linus Torvalds
            ~80% of details are wrong. So what one can expect from conclusions? :( (NT)Michael S
              ~80% of details are wrong. So what one can expect from conclusions? :(anonymous2
            Alder Lake and AVX-512nobody in particular
              Alder Lake and AVX-512Linus Torvalds
                Alder Lake and AVX-512nobody in particular
                  Alder Lake and AVX-512me
                    Alder Lake and AVX-512Maynard Handley
            Alder Lake and AVX-512UnmaskedUnderflow
            AVX-512 vs SVE2-.-
              AVX-512 vs SVE2noko
                AVX-512 vs SVE2-.-
            Alder Lake and AVX-512Geoff Langdale
              Could you please stop top-posting (NT)Jukka Larja
              Alder Lake and AVX-512Romain Dolbeau
            Alder Lake and AVX-512Spiteful Sprites
              Alder Lake and AVX-512nobody in particular
                Alder Lake and AVX-512Spiteful Sprites
                  Alder Lake and AVX-512Jouni Osmala
                  RISC-V & commercial support (was: Alder Lake and AVX-512)Romain Dolbeau
                    RISC-V & commercial support (was: Alder Lake and AVX-512)Romain Dolbeau
              Alder Lake and AVX-512Linus Torvalds
            AVX-512/SVE & HPC (was: Alder Lake and AVX-512)Romain Dolbeau
              AVX-512/SVE & HPC (was: Alder Lake and AVX-512)anon
                AVX-512/SVE & HPC (was: Alder Lake and AVX-512)Romain Dolbeau
                  AVX-512/SVE & HPC (was: Alder Lake and AVX-512)Maynard Handley
                  AVX-512/SVE & HPC (was: Alder Lake and AVX-512)Doug S
                  AVX-512/SVE & HPC (was: Alder Lake and AVX-512)anon
              AVX-512/SVE & HPC (was: Alder Lake and AVX-512)Linus Torvalds
                AVX-512/SVE & HPC (was: Alder Lake and AVX-512)Romain Dolbeau
                  Configurable cache line size?Doug S
                    Configurable cache line size?dmcq
                    Configurable cache line size?Romain Dolbeau
                    Configurable cache line size?NoSpammer
                    Configurable cache line size?Pixie
                      Configurable cache line size?Etienne
                        Configurable cache line size?Hugo Décharnes
                  Cache line sizeMark Roulo
                    Cache line sizeanon
                  AVX-512/SVE & HPC (was: Alder Lake and AVX-512)Gabriele Svelto
                    AVX-512/SVE & HPC (was: Alder Lake and AVX-512)dmcq
                      AVX-512/SVE & HPC (was: Alder Lake and AVX-512)zArchJon
            Macro-instructions to the rescue
              Some fundamentals haven't changedChester
                Some fundamentals haven't changed
                  Some fundamentals haven't changeddmcq
                    Some fundamentals haven't changed
                    Some fundamentals haven't changedBrett
                      Some fundamentals haven't changedBrett
                      What belt is.Heikki Kultala
                        What belt is.Michael S
                          What belt is.Brett
                            What belt is.Michael S
                              What belt is.Brett
                                What belt is.Doug S
                                  What belt is.Andrew Clough
                                    What belt is.dmcq
                                      Mill Compiler still MIA?Geoff Langdale
                                        If they release the compiler, how they will blame the still-in-development compiler for the lacklust (NT)Anon
                                          If they release the compiler, how they will blame the still-in-development compiler for the lacklustAnon
                                        Apparently they're busy writing a kernel...Anon
                                          Apparently they're busy writing a kernel...dmcq
                        What belt is.
                          What belt is.anonymous2
                            What belt is.Doug S
                              What belt is.
        gooduseruser
      Alder Lake and AVX-512-.-
        Alder Lake and AVX-512-.-
      Alder Lake and AVX-512j
        Alder Lake and AVX-512Michael S
          Alder Lake and AVX-512j
            Alder Lake and AVX-512dmcq
              Alder Lake and AVX-512Michael S
                Alder Lake and AVX-512Maynard Handley
                Alder Lake and AVX-512dmcq
                  Alder Lake and AVX-512dmcq
                    Alder Lake and AVX-512Michael S
                      Alder Lake and AVX-512dmcq
                        Alder Lake and AVX-512Michael S
                          Alder Lake and AVX-512dmcq
                            Alder Lake and AVX-512Michael S
                              Alder Lake and AVX-512dmcq
                                Alder Lake and AVX-512Michael S
                                  Alder Lake and AVX-512dmcq
                                    GV100 + POWER9Michael S
                                      GV100 + POWER9dmcq
                                        GV100 + POWER9dmcq
                        Alder Lake and AVX-512dmcq
    Alder Lake and AVX-512o
    Alder Lake and AVX-512
      Alder Lake and AVX-512
      Alder Lake and AVX-512Linus Torvalds
        Alder Lake and AVX-512
        Alder Lake and AVX-512Michael S
          x87 crapHeikki Kultala
            x87 crapMichael S
              x87 crapHeikki kultala
                x87 crapMichael S
                  Sparc and PA-RISC vs pentium FP performanceHeikki Kultala
                    Sparc and PA-RISC vs pentium FP performanceanonymous2
          Alder Lake and AVX-512Doug S
            Alder Lake and AVX-512Michael S
    Alder Lake and AVX-512David Kanter
      Alder Lake and AVX-512anon
      ~0% of users do much FP outside of GPUs for games (NT)anonymous2
        ~0% of users do much FP outside of GPUs for gamesMaynard Handley
        not trueChester
          not trueMichael S
            not trueChester
              not trueanonymous2
                not trueMaynard Handley
                  not trueChester
            not trueDoug S
              not trueAnon
                not trueMaynard Handley
              not trueMaynard Handley
          not trueLinus Torvalds
            not trueDummond D. Slow
              not trueMaynard Handley
                not trueDummond D. Slow
            not true (about FP, not avx-512)Chester
  Alder Lake and AVX-512Travis Downs
    Alder Lake and AVX-512-.-
      Alder Lake and AVX-512-.-