make -j
debug support
make DEBUG=1 -j
gdb support
make GDB=1 -j
debug cli support
make CLI=1 -j
get dynamic link library for difftest
make DIFF=1 -j
clean
make clean
Use CORE to specify the specific core configuration, the default is la464
make CLI=1 CORE=centaur320 -j
./build/la_emu_user [options] program [arguments...]
./build/la_emu_kernel -m 16 -k vmlinux
Download execuable binary from here.
Option | Function |
---|---|
-d | Log info, suupport: exec,cpu,fpu,int |
-D | Log file |
-z | Determined events |
-g | Enable gdbserver |
-m | Memory size(kernel mode) |
-k | Kernel vmlinux(kernel mode) |
Features | Status |
---|---|
Loongarch64 base | ✓ |
Loongarch64 privilege | ✓ |
FP | ✓ |
LSX | ✓ |
LASX | ✓ |
Timer | ✓ |
Serial Port | ✓ |
Gdb Server | ✓ |
Determined events | ✓ |
All SPEC CPU | ✓ |
Dynamic ELF | ✗ |
Multithread | ✗ |
Signal | ✗ |
Block Device | ✗ |
Up to 3% of native.