diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2019-09-02 15:02:14 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2019-09-03 19:05:34 +0300 |
commit | 968b98bc27c2b228323c53761075422ebbb098bd (patch) | |
tree | 002bc337d8f664d52a513d5ea8c4477985d025f7 /board/synopsys | |
parent | fbf8c5016399da8ee641f08022d322eb08d667a0 (diff) | |
download | u-boot-968b98bc27c2b228323c53761075422ebbb098bd.zip u-boot-968b98bc27c2b228323c53761075422ebbb098bd.tar.gz u-boot-968b98bc27c2b228323c53761075422ebbb098bd.tar.bz2 |
arc: emsdp: Add more platform-specific compiler options
Even though EM SDP is FPGA-based board and different FPGA
images (known as .bit-files) are awailable for the board still
there's a common subset of options we may rely on for all configs.
These are:
* Normalizer
* Swap instructions
* Simple multiplier
* Barrel-shifter
* Floating-point unit
* Shorter instructions (code density)
This among other improvements allows to compile code with
64-bit divisions, see [1].
[1] https://patchwork.ozlabs.org/patch/1156541/
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'board/synopsys')
-rw-r--r-- | board/synopsys/emsdp/config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/synopsys/emsdp/config.mk b/board/synopsys/emsdp/config.mk new file mode 100644 index 0000000..67fd7bf --- /dev/null +++ b/board/synopsys/emsdp/config.mk @@ -0,0 +1,2 @@ +PLATFORM_CPPFLAGS += -mlittle-endian -mnorm -mswap -mmpy-option=3 \ + -mbarrel-shifter -mfpu=fpuda_all -mcode-density |