xref: /OK3568_Linux_fs/yocto/poky/meta/conf/machine/include/x86/tune-i686.inc (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# The i686 CPU family was introduced with the Intel Pentium Pro in 1995.
3*4882a593Smuzhiyun# It has as required feature flags: fpu tsc cx8 cmov.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun# It is the minimum CPU required by the Debian i386 port.
6*4882a593Smuzhiyun# https://lists.debian.org/debian-devel-announce/2016/05/msg00001.html
7*4882a593Smuzhiyun#
8*4882a593Smuzhiyun#
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunDEFAULTTUNE ?= "i686"
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun# Set x86 target arch to i686, so that glibc enables SSE optimised memcpy, etc.
13*4882a593SmuzhiyunX86ARCH32 ?= "i686"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS
16*4882a593Smuzhiyunrequire conf/machine/include/x86/tune-i586.inc
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# Extra tune features
19*4882a593SmuzhiyunTUNEVALID[i686] = "Enable i686 specific processor optimizations"
20*4882a593SmuzhiyunTUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'i686', ' -march=i686', '', d)}"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun# Extra tune selections
23*4882a593SmuzhiyunAVAILTUNES += "i686"
24*4882a593SmuzhiyunTUNE_FEATURES:tune-i686 = "${TUNE_FEATURES:tune-x86} i686"
25*4882a593SmuzhiyunBASE_LIB:tune-i686 = "lib"
26*4882a593SmuzhiyunTUNE_PKGARCH:tune-i686 = "i686"
27*4882a593SmuzhiyunPACKAGE_EXTRA_ARCHS:tune-i686 = "${PACKAGE_EXTRA_ARCHS:tune-i586} i686"
28