|Reading time:||10 min|
|Last updated:||6 Jun 2023|
|6 Jun 2023|
This guide is intended to get you up and running with this tool quickly with the most common settings. For a thorough review of all options, refer to the official documentation.
Arm Instruction Emulator is a software tool that runs on 64-bit Arm platforms and emulates Scalable Vector Extension(SVE) . This tool allows you to run your compiled SVE application binaries on hardware that is not SVE-enabled.
AWS Graviton 3 processors are available and recommended for SVE application development.
Arm Instruction Emulator is an executable that runs on your Linux host. It runs on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), and Ubuntu Linux distributions.
Confirm you are using an Arm machine by running:
The output should be:
If you see a different result, you are not using an Arm computer running 64-bit Linux.
For Ubuntu Linux install the required packages.
sudo apt-get install build-essential -y sudo apt-get install environment-modules -y
You can download the appropriate Arm Instruction Emulator package for your host Linux platform from Product Downloads section of the Arm website.
For Ubuntu Linux download the installer package using
To install the Arm Instruction Emulator, extract the downloaded package and run the install script.
Extract the downloaded package.
tar xf ARM-Instruction-Emulator_22.0_AArch64_Ubuntu_18.04.tar.gz cd arm-instruction-emulator_22.0_Ubuntu-18.04
Run the install script.
sudo ./arm-instruction-emulator_22.0_Ubuntu-18.04.sh -a
Set up the environment for example in your .bashrc and add module files.
echo "source /usr/share/modules/init/bash" >> ~/.bashrc echo "module use /opt/arm/modulefiles" >> ~/.bashrc source ~/.bashrc
To list available modules:
To configure Arm Compiler for Linux:
module load armie22/22.0
armie is installed, print the version.
Arm Instruction Emulator does not require a license.
To verify everything is working after installation refer to
Get started with Arm Instruction Emulator
for instructions on how to compile and run examples with
This uses a couple of simple examples to demonstrate how to compile Scalable Vector Extension (SVE) code and run the resulting binary with Arm Instruction Emulator.
You are ready to use the Arm Instruction Emulator.
How would you rate the overall quality of this tool quick-install guide?