travis a64 backend
This commit is contained in:
parent
3850598ca2
commit
20ab2e2e80
@ -7,5 +7,7 @@ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
|
|||||||
|
|
||||||
cd dynarmic
|
cd dynarmic
|
||||||
mkdir build && cd build
|
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
|
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
|
||||||
make -j4
|
ninja
|
||||||
|
|
||||||
|
qemu-aarch64 -L /usr/aarch64-linux-gnu ./tests/dynarmic_tests -d yes
|
||||||
|
@ -4,7 +4,7 @@ set -e
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
apt-get update
|
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.
|
# TODO: This isn't ideal.
|
||||||
cd dynarmic/externals
|
cd dynarmic/externals
|
||||||
|
@ -76,9 +76,14 @@ u32 GenRandomInst(u32 pc, bool is_last_inst) {
|
|||||||
} instructions = []{
|
} instructions = []{
|
||||||
const std::vector<std::tuple<std::string, const char*>> list {
|
const std::vector<std::tuple<std::string, const char*>> list {
|
||||||
#define INST(fn, name, bitstring) {#fn, bitstring},
|
#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/arm.inc"
|
||||||
#include "frontend/A32/decoder/asimd.inc"
|
#include "frontend/A32/decoder/asimd.inc"
|
||||||
#include "frontend/A32/decoder/vfp.inc"
|
#include "frontend/A32/decoder/vfp.inc"
|
||||||
|
#endif
|
||||||
#undef INST
|
#undef INST
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user