Slide 4
Slide 4 text
Code generator from Enum.map or Nx to SIMD or Vector instructions
• Generating SIMD or Vector instructions efficiently
performs iteration with collections such as
Enum.map and Nx.
• The right figure shows performance improvement
by Pelemay, which is a code generator from
Enum.map with pipeline operators to native code
including SIMD instructions.
• Moreover, this is realized by a simple
transformation rule, so BeamAsm can implement
it without a heavy load of generating code.
• We believe we can get more improvement of
performance if BeamAsm will perform such
optimization.
4
©︎
2021 Susumu Yamazaki
S. Yamazaki and Y. Hisae: Performance Evaluation of SIMD Parallelization for
Elixir Based on Skeletons for Data Parallelism, 130th IPSJ-SIGPRO, July, 2020.