AVX & AVX 2 instructions on CPU's

Discussion in 'PC/Mac Builders, Mods, Peripherals - New' started by fraz, May 9, 2019.

  1. fraz

    fraz Member

    105
    10
    Aug 26, 2017
    Hi,

    How many of the current sample libraries & VSTi's use AVX2 instructions? - There are other instructions as well like SSE etc......but for AVX 128 bits & AVX2 being 256 bits it's obvious the benefits of reduced CPU load.

    From Haswell CPU's onwards AVX2 was supported and we're on AVX512 but lets focus on AVX2 & AVX

    Reason is there are some older CPU's from the Sandy Bridge / Ivy Bridge era - circa 2011 onwards such as 3930K XEON E5 2690, Xeon E5 1680 v2 all supporting AVX but not AVX2 but are still strong CPU's in some cases.

    Any info - thanks
     
  2. EvilDragon

    EvilDragon KSP Wizard

    6,121
    3,985
    May 25, 2010
    Croatia
    I think none use AVX2. Synapse Audio The Legend uses AVX.
     
  3. OP
    OP
    fraz

    fraz Member

    105
    10
    Aug 26, 2017
    Hey Evil Dragon it's you again - I saw you over on the NI forum!!!

    So, you say none of the sample libraries use AVX2 - I'm surprised - There are other instruction sets as well but I don't know them that well yet - SSE etc......which appear in CPU-Z etc.....

    I'll find out more when I get round to using more of the libraries and VSTi -
     
  4. Pictus

    Pictus Member

    118
    61
    Aug 14, 2018
    Melda, Voxengo, 2CAudio, FXpansion, UVI, VAST Dynamics and probably others...
     
  5. EvilDragon

    EvilDragon KSP Wizard

    6,121
    3,985
    May 25, 2010
    Croatia
    Sample libraries by themselves don't have anything to do with AVX2 - the sampler playing them might. But Kontakt doesn't use AVX2. AFAIK Falcon doesn't either (maybe just uses regular AVX).
     
  6. Pictus

    Pictus Member

    118
    61
    Aug 14, 2018
  7. EvilDragon

    EvilDragon KSP Wizard

    6,121
    3,985
    May 25, 2010
    Croatia
    True. I was just comparing Kontakt and Falcon as far as sample libs are concerned - they're the same in this regard.
     
  8. Cinebient

    Cinebient Active Member

    265
    241
    Dec 7, 2014
    Only i know are 2CAudio Precedence and Breeze 2... They support AVX, AVX-2 and even AVX-512.
     
  9. wuubb

    wuubb New Member

    33
    8
    Oct 10, 2016
    I'm not familiar with how multiple instruction sets are used, is it something that you'd need to write the software (or parts of it) in assembly in order to get the benefit, or is it simply using certain compilers/compiler settings to enable the features of said instruction set?
     
  10. azeteg

    azeteg Active Member

    156
    64
    Sep 23, 2009
    Liechtenstein
    Usually you compile the software for a minimum architecture, we use SSE2 for that. For supporting other architectures, you can use a dynamic dispatch with intrinsics - compiling each unit with different architecture flags.

    We use AVX, AVX2 and FMA in this way. So do the operating systems.
     
    wuubb likes this.
  11. wuubb

    wuubb New Member

    33
    8
    Oct 10, 2016
    Fascinating. Low level stuff has not been my favorite area by far in CS but I do find it interesting.
     

Share This Page