arc: emsdp: Add more platform-specific compiler options
diff mbox series

Message ID
State New
Headers show
  • arc: emsdp: Add more platform-specific compiler options
Related show

Commit Message

Alexey Brodkin Sept. 2, 2019, 12:21 p.m. UTC
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].


Signed-off-by: Alexey Brodkin <>
Cc: Kever Yang <>
 board/synopsys/emsdp/ | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 board/synopsys/emsdp/

diff mbox series

diff --git a/board/synopsys/emsdp/ b/board/synopsys/emsdp/
new file mode 100644
index 0000000000..67fd7bf82a
--- /dev/null
+++ b/board/synopsys/emsdp/
@@ -0,0 +1,2 @@ 
+PLATFORM_CPPFLAGS += -mlittle-endian -mnorm -mswap -mmpy-option=3 \
+                     -mbarrel-shifter -mfpu=fpuda_all -mcode-density