gpsp/tests/Makefile
David Guillen Fandos bcd3d1ca29 [aarch64] Adding new aarch64 dynarec!
This is based on the MIPS dynarec (more or less) with some ARM
borrowings. Seems to be quite fast (under my testing fixed results:
faster than ARM on A1 but not a lot faster than the interpreter on
Android Snapdragon 845) but still some optimizations are missing at the
moment.

Seems to pass my testing suite and compatibility wise is very similar to
arm.
2021-12-12 13:18:13 +01:00

12 lines
382 B
Makefile

ARMV8PFX=/opt/buildroot-armv8el-uclibc/bin/aarch64-buildroot-linux-uclibc
all:
gcc -o arm64gen arm64gen.c -ggdb -I../arm/
./arm64gen > bytecode.bin
$(ARMV8PFX)-as -o bytecoderef.o arm64gen.S
$(ARMV8PFX)-objcopy -O binary bytecoderef.o bytecoderef.bin
@ cmp bytecoderef.bin bytecode.bin || echo "Bytecode mismatch"
@ cmp bytecoderef.bin bytecode.bin && echo "Test passed!"