Announcement

Collapse
No announcement yet.

LLVM May Enable The SLP Vectorizer By Default

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

  • LLVM May Enable The SLP Vectorizer By Default

    Phoronix: LLVM May Enable The SLP Vectorizer By Default

    The LLVM compiler infrastructure may be generating some speedier binaries by default for the -O3 optimization level by turning on the straight-line SLP vectorizer...

    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
    Vectorize all the loops!

    Comment


    • #3
      Originally posted by varikonniemi View Post
      Vectorize all the loops!
      The loops are ALREADY vectorized. This is about vectorizing code that is NOT in loops.

      The essential ideas behind this have been working for a while now. The essential bottleneck has been a good cost model. The problem is that to aggregate random more-or-less uncorrelated operations into a vector operation requires a fair bit of marshaling to load the data into vectors, then to unpack it at the end. Frequently the cost of these marshaling operations is higher than the time save by doing a whole of adds or multiplies or whatever as a vector op. Hence the need for an accurate cost model which is neither too optimistic about costs (so that you frequently vectorize when you shouldn't) nor too pessimistic (so you miss out on vectorizing when it would be a win).

      Comment

      Working...
      X