Rate This Document
Findability
Accuracy
Completeness
Readability

Optimizing Compilation by Enabling LSE

Purpose

Enable Large System Extensions (LSE) to optimize ARMv8 atomic instructions, making atomic instructions more efficient.

Procedure

  1. Check the system environment and software dependencies, and generate Makefile.
    1
    ./configure
    
  2. Modify the src/Makefile.global file.
    vim src/Makefile.global
  3. Press i to enter the insert mode and add the following content to the end of the CFLAGS parameter in line 261:
    -march=armv8-a+crc+lse

  4. Press Esc, type :wq!, and press Enter to save the file and exit.
  5. Perform the compilation and installation.
    make && make install