[Buildroot] [PATCH v2 0/3] Upgrade ARC port to new toolchain
Mischa.Jonker at synopsys.com
Thu Jul 18 22:09:39 UTC 2013
> While you're at it, have you followed the recent changes on floating point
> support for ARM?
I saw the mails, but I haven't studied them in detail.
> How does floating point support works on ARC?
> Completely soft-float? Hard float is possible? Always the same FPU?
For the current generation of cores (ARC700 series for Linux) we do not really have an 'FPU'. The ARC cores have the possibility of adding various extensions, and for floating point we happen to have 4 different kinds of extensions: spfp-compact, dpfp-compact, spfp-fast, dpfp-fast. In reality, these are just ADD, SUB and MUL instructions, the rest still needs to happen in software. The single and double precision extensions can be combined so both are supported in the same core. The fast and compact variants relate to the speed and the number of gates/area; I think they share the same opcode space.
I think right now it is more important to focus on getting most packages to build; after that I will look into the best way to make a toolchain + libraries tailored to the exact core configuration: the FPU is not the only thing that is configurable; you can have a variable set of registers, different types of multipliers, etc, etc.
If I were to add this configurability somewhere, do you think that CTNG would be the right place, or Buildroot?
More information about the buildroot