Files
linux-kernel-module-cheat/userland/arch/aarch64/freestanding/linux/gem5_exit.S
Ciro Santilli 六四事件 法轮功 3b3f073e2c userland/arch/aarch64/freestanding/linux/gem5_exit.S to benchmark immediate gem5 exit
ldxr_stxr does an ldxr on thread 0 to fall in the ISA case where event is certain.

Also add ldxr_str which tests yet another case where event is certain: non conditional
write.
2020-01-10 00:00:00 +00:00

11 lines
233 B
ArmAsm

/* https://cirosantilli.com/linux-kernel-module-cheat#benchmark-emulators-on-userland-executables */
#define LKMC_M5OPS_ENABLE 1
#include "lkmc/m5ops.h"
.text
.global _start
_start:
asm_main_after_prologue:
LKMC_M5OPS_EXIT_ASM