]> granicus.if.org Git - libx264/commit
x86: Add some additional cpuflag relations
authorHenrik Gramner <henrik@gramner.com>
Sat, 6 May 2017 10:26:56 +0000 (12:26 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sun, 21 May 2017 20:41:07 +0000 (22:41 +0200)
commit8c2974255b01728d4eda2434cc1997c4a3ca5eff
tree2992892e7a6e9f5f2f563a67bb05297650fb5c92
parent93bc2cbc66f0bf4616965dcd7e0eba89201c8086
x86: Add some additional cpuflag relations

Simplifies writing assembly code that depends on available instructions.

LZCNT implies SSE2
BMI1 implies AVX+LZCNT
AVX2 implies BMI2

Skip printing LZCNT under CPU capabilities when BMI1 or BMI2 is available,
and don't print FMA4 when FMA3 is available.
common/bitstream.c
common/cpu.c
common/quant.c
common/x86/cabac-a.asm
common/x86/quant-a.asm
common/x86/quant.h
common/x86/x86inc.asm
encoder/encoder.c
tools/checkasm.c