x86/cpu: Add AVX512_FP16 cpu feature
commit40399ecb6959ae696c235097c773d776392fde1f
authorCathy Zhang <cathy.zhang@intel.com>
Wed, 16 Dec 2020 22:40:02 +0000 (17 06:40 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 16 Dec 2020 20:50:33 +0000 (16 15:50 -0500)
treed10fa5dea0a21837957c13f43389322e417e82c3
parent23eb5d032f468e3054f2408cd7a0729a50aca0b7
x86/cpu: Add AVX512_FP16 cpu feature

AVX512 Half-precision floating point (FP16) has better performance
compared to FP32 if the presicion or magnitude requirements are met.
It's defined as CPUID.(EAX=7,ECX=0):EDX[bit 23].

Refer to
https://software.intel.com/content/www/us/en/develop/download/\
intel-architecture-instruction-set-extensions-programming-reference.html

Signed-off-by: Cathy Zhang <cathy.zhang@intel.com>
Message-Id: <20201216224002.32677-1-cathy.zhang@intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c
target/i386/cpu.h