All of lore.kernel.org
 help / color / mirror / Atom feed
* TUNE_PKGARCH for Microblaze
@ 2013-03-20  4:08 Sipke Vriend
  2013-03-20  6:43 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Sipke Vriend @ 2013-03-20  4:08 UTC (permalink / raw)
  To: yocto@yoctoproject.org; +Cc: meta-xilinx@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2068 bytes --]

Hi all,



We are seeking some feedback regarding common practices for defining TUNE_PKGARCH within Yocto.



We need to define a unique TUNE_PKGARCH for the possible configuration of Microblaze architecture.

Our proposal is short unique string for each HW feature which is enabled in Microblaze.



For 'extensive hardware usage' architecture, this would result in something like:

mbebv730-bs-mh-div-fb-cmp

mbebv840-bs-mh-div-fb-cmp-re

mbelv840-bs-ml-div-fe-cmp-re

and for architecture with no 'hardware usage':

mbebv730

mbebv840

mbelv840



The table below details the unique strings and their relation to compiler and hardware flags, and a couple of versions of Microblaze architecture.

(If this table does not show cleanly switch to fixed width font)

-------------------

String Compiler Flag        Hardware Flag         CPU versions

       -mcpu=vX.YY.Z                              v7.30.a v8.40.a



mbel   -mlittle-endian      C_ENDIANNESS (LITTLE) -       o

mbeb   -mbig-endian         C_ENDIANNESS (BIG)    x       o



bs     -mxl-barrel-shift    C_USE_BARREL          o       o



ml     -mnoxl-soft-mul      C_USE_HW_MUL (MUL32)  o       o

mh     -mxl-multiply-high   C_USE_HW_MUL (MUL64)  o       o



div    -mnoxl-soft-div      C_USE_DIV             o       o



fb     -mhard-float         C_USE_FPU (BASIC)     o       o

fe     -mxl-float-convert   C_USE_FPU (EXTENDED)  o       o

fe     -mxl-float-sqrt      C_USE_FPU (EXTENDED)  o       o



cmp   -mxl-pattern-compare  C_USE_PCMP_INSTR      o       o



re    -mxl-reorder          C_USE_REORDER_INSTR   -       o



Where '-' means unavailable 'x' is only option and 'o' is optional.

-------------------



Note the table rows have hardware feature 'groupings', which means only one of the strings should be present within the TUNE_PKGARCH. For example the Floating Point Unit hardware feature can be defined by either fb (for basic mode) or fe (for extended mode).



Regards

Sipke


[-- Attachment #2: Type: text/html, Size: 12673 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-27  0:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20  4:08 TUNE_PKGARCH for Microblaze Sipke Vriend
2013-03-20  6:43 ` Khem Raj
2013-03-26  6:12   ` Sipke Vriend
2013-03-26 19:18     ` Mark Hatle
2013-03-27  0:45       ` Sipke Vriend

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.