diff options
author | Paul Barker <pbarker@toganlabs.com> | 2017-10-13 19:25:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-16 23:52:04 +0100 |
commit | 7e96cf3c9850dc34d53af73a9ac22b1624994484 (patch) | |
tree | ba298f764f7ee91dcdf801a587ba4b1cbaf97fa2 /scripts/lib/devtool/sdk.py | |
parent | 8cf2e5b1d9c0b5d3133dc9e341051c40d695f2a9 (diff) | |
download | openembedded-core-7e96cf3c9850dc34d53af73a9ac22b1624994484.tar.gz openembedded-core-7e96cf3c9850dc34d53af73a9ac22b1624994484.tar.bz2 openembedded-core-7e96cf3c9850dc34d53af73a9ac22b1624994484.zip |
goarch.bbclass: Define HOST_GO386 and TARGET_GO386
These variables are used to control the floating-point instructions emitted by
the go compiler for x86 architectures.
The default is '387' which disables the use of sse/sse2 instructions and is safe
to use on all x86 processors from the i486 onwards.
If TUNE_FEATURES contains a feature set which is known to support sse/sse2
instructions then they are set to 'sse2' to enable the use of these
instructions. This is suitable for most processors from Pentium 4 onwards.
Only the 'core2' and 'corei7' TUNE_FEATURES are defined in the oe-core layer and
are known to support ss2 instructions. Other layers may introduce additional
tunings which support sse2 instructions and for these layers, TARGET_GO386
or go_map_386 should be overridden as needed.
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
0 files changed, 0 insertions, 0 deletions