diff options
author | Oneric <oneric@oneric.stub> | 2021-12-05 23:00:47 +0100 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2021-12-06 19:16:05 +0100 |
commit | c75017b4e7ad686009c0ac14b7d9b22db4811aa1 (patch) | |
tree | 0e8043f477c25ced75082d184e8bcab82295c8ff /libass/ass_render.c | |
parent | 5fede0443b4e1b052ce2cd36c41d2196250ae3bf (diff) | |
download | libass-c75017b4e7ad686009c0ac14b7d9b22db4811aa1.tar.bz2 libass-c75017b4e7ad686009c0ac14b7d9b22db4811aa1.tar.xz |
x86: fix AVX detection
The removed check compared some bits from the vendor string to the ones
from "GenuineIntel". This blocked AVX and AVX2 from being used on
AMD- and other non-Intel-CPUs and even on Intel-CPUs if run in a
hypervisor or VM which changes the vendor string (eg " KVMKVMKVM ").
Drop the vendor check to utilise AVX on all supporting CPUs.
Diffstat (limited to 'libass/ass_render.c')
0 files changed, 0 insertions, 0 deletions