arc: emsdp: Add more platform-specific compiler options
authorAlexey Brodkin <abrodkin@synopsys.com>
Mon, 2 Sep 2019 12:02:14 +0000 (15:02 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Tue, 3 Sep 2019 16:05:34 +0000 (19:05 +0300)
commit968b98bc27c2b228323c53761075422ebbb098bd
tree002bc337d8f664d52a513d5ea8c4477985d025f7
parentfbf8c5016399da8ee641f08022d322eb08d667a0
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>
board/synopsys/emsdp/config.mk [new file with mode: 0644]