travis a64 backend

This commit is contained in:
SachinVin 2019-07-06 11:48:28 +05:30 committed by xperia64
parent 3850598ca2
commit 20ab2e2e80
3 changed files with 10 additions and 3 deletions

View File

@ -7,5 +7,7 @@ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
cd dynarmic
mkdir build && cd build
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_TESTS=false -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc-8 -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++-8
make -j4
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc-8 -DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++-8 -G Ninja
ninja
qemu-aarch64 -L /usr/aarch64-linux-gnu ./tests/dynarmic_tests -d yes

View File

@ -4,7 +4,7 @@ set -e
set -x
apt-get update
apt-get install -y git cmake gcc make g++-8-aarch64-linux-gnu
apt-get install -y git cmake gcc ninja-build g++-8-aarch64-linux-gnu qemu-user
# TODO: This isn't ideal.
cd dynarmic/externals

View File

@ -76,9 +76,14 @@ u32 GenRandomInst(u32 pc, bool is_last_inst) {
} instructions = []{
const std::vector<std::tuple<std::string, const char*>> list {
#define INST(fn, name, bitstring) {#fn, bitstring},
#ifdef ARCHITECTURE_Aarch64
#include "frontend/A32/decoder/arm_a64.inc"
#include "frontend/A32/decoder/vfp2_a64.inc"
#else
#include "frontend/A32/decoder/arm.inc"
#include "frontend/A32/decoder/asimd.inc"
#include "frontend/A32/decoder/vfp.inc"
#endif
#undef INST
};