Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't use AVX2 instructions on unsupported cpus #9

Open
inferrna opened this issue Feb 18, 2019 · 3 comments · May be fixed by #67
Open

Don't use AVX2 instructions on unsupported cpus #9

inferrna opened this issue Feb 18, 2019 · 3 comments · May be fixed by #67
Labels
enhancement New feature or request

Comments

@inferrna
Copy link

inferrna commented Feb 18, 2019

My CPU is Xeon 2665 v1

Program terminated with signal SIGILL, Illegal instruction.
#0  0x00007fcf8c41f6b2 in avc_style_luma_interpolation_filter_horizontal_avx2_intrin ()

$ cpuid | grep -i avx

   AVX/YMM features (0xd/2):
      AVX/YMM save state byte size             = 0x00000100 (256)
      AVX/YMM save state byte offset           = 0x00000240 (576)
      AVX: advanced vector extensions         = true
      AVX2: advanced vector extensions 2       = false
      AVX512F: AVX-512 foundation instructions = false
      AVX512DQ: double & quadword instructions = false
      AVX512IFMA: fused multiply add           = false
      AVX512PF: prefetch instructions          = false
      AVX512ER: exponent & reciprocal instrs   = false
      AVX512CD: conflict detection instrs      = false
      AVX512BW: byte & word instructions       = false
      AVX512VL: vector length                  = false
      AVX512VBMI: vector byte manipulation     = false
      AVX512_4VNNIW: neural network instrs     = false
      AVX512_4FMAPS: multiply acc single prec  = false
         XCR0 supported: AVX state            = true
         XCR0 supported: AVX-512 opmask       = false
         XCR0 supported: AVX-512 ZMM_Hi256    = false
         XCR0 supported: AVX-512 Hi16_ZMM     = false
@hassount
Copy link

@inferrna
Thank you for your feedback, at this point SVT-VP9 does not support non-avx2 cpus. However, we welcome contributions enabling such support.

@hassount hassount added the enhancement New feature or request label Feb 19, 2019
@gnafuthegreat
Copy link

For example, there was this patch for SVT-AV1 if someone wanted to try and adapt it:

https://github.com/OpenVisualCloud/SVT-AV1/pull/3

@davidebeatrici
Copy link

Related: #172

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants