Commit graph

3143 commits

Author SHA1 Message Date
Alexandre Bouvier
a0ce4c49c1 externals: Update zycore to 1.4.1
Merge commit 'cd2ede593acee9c4956c79da4377ce890ac3a9c0'
2022-11-20 21:49:18 +01:00
Alexandre Bouvier
cd2ede593a Squashed 'externals/zycore/' changes from 0c372cde..1401fb85
1401fb85 Fix `a label can only be part of a statement` warning (#61)
5f650a18 CMake: Enable `CMAKE_MSVC_RUNTIME_LIBRARY` (MSVC)
6c958cfe Fix no-libc build on "other" platforms (#58)
59819206 Bump version to v1.4.0
4bc563f6 Fix build-system to better work with vcpkg (#56)
4a8b5e2a CMake: rename target `doc` -> `ZycoreDoc`
a754e112 Bump version to 1.3.0
3e95307d Add support for ppc(64) and riscv64 (#52)
8f39333a build: only enable CXX if needed
7bd75696 build: add doc target
7c33e13e Fix `ZYAN_TRUE`/`ZYAN_FALSE` signedness
a0feec7f Fix warning `C4668`
bdbd3ff4 Bump version to v1.2
60b6ef1c Fix for dynamic libraries too
310f362c Adding ARCHIVE DESTINATION to fix CMake error
b01063b8 Improved logic for enabling LTO
c58d7fb5 Don't enable C11 for MSVC
ee784564 Switch minimum C standard supported to C11
5c341bf1 Implement an initial set of cross-compiler atomic operations
b4949ccc Minor fixes
9a305f6a Add CI workflow
dd2211a0 Get rid of CMake export headers
f0fb3f78 Fix `ZYAN_VECTOR_FOREACH_MUTABLE` macro
3f263290 format: handle encoding on wasm
95d7fb6c format: handle hex encoding on wasm
0d37fc54 defines: add wasm/wasi detection
8983325b build: use -pthread when possible
3de49d41 build: use system GTest when available
8d46cb58 test: make tests runnable with ctest
636bb299 Remove `float`s from the project (kernel mode compatibility) (#36)
e2b37b10 Assert to ensure sane growth factors
94185407 Added limits for integer types
767719d9 build(cmake): export and install zyan_* functions (#33)
6c93d9a3 build(cmake): add version and soversion to the library
fc2798d4 build(cmake): fix PUBLIC include dir of installed lib
22ce9c2d Add `ZYAN_FORCE_ASSERTS` CMake option
9a301424 Remove disabling source files in no-libc mode in CMake
3be54fca Thread.c: add missing SDK prototypes for old versions of Windows
d7fc85fd Exclude API/Memory.c and API/Process.c from compilation in no-libc mode
8da0001a Add back #ifdef guards to "API" headers/sources for no-libc mode
f6a48866 Fix cmake config files (#27)
4f3746fa Merge pull request #26 from Tsn0w/master
a9bb54ad Replace fallthrough attribute to __fallthrough__
99a74acb Add `ZYDIS_NOINLINE` macro

git-subtree-dir: externals/zycore
git-subtree-split: 1401fb85ac313f6605ec795c52bf99ea3f292a69
2022-11-20 21:49:18 +01:00
Macdu
97edb626c7 emit_arm64_a32: Improve A32SetCpsr 2022-11-20 16:21:47 +00:00
Macdu
ad6a04c584 backend/arm64: FPVectorToHalf32 implementation 2022-11-20 16:21:47 +00:00
Merry
5e2206d0e9 dynarmic: 6.3.0 2022-11-19 21:42:42 +00:00
Merry
93b18ee8e2 A32: Allow for user-adjustable per-instruction tick counts 2022-11-19 21:42:13 +00:00
Merry
07c614f91b dynarmic: 6.2.4 2022-11-19 20:07:34 +00:00
Merry
f2781c58b7 a64_emit_x64_memory: Correct bug in GenMemory128Accessors, misaligned stack 2022-11-19 20:07:10 +00:00
Wunk
e23d61d124
backend/arm64: Add MSVC C++ ABI devirtualization (#718)
MSVC C++ uses a non-standard ABI definition that must be specially
handled:
https://rants.vastheman.com/2021/09/21/msvc
2022-11-15 20:22:47 +00:00
Merry
dd36a52048 externals: Update oaknut to 1.1.3
Merge commit 'cb8abc3ae5a1fcd3d7b6ab73472cdf9093302631'
2022-11-15 15:37:16 +00:00
Merry
cb8abc3ae5 Squashed 'externals/oaknut/' changes from c0c715505..72f7ccd94
72f7ccd94 oaknut: 1.1.3
0b5745e4e oaknut: Add Windows on Arm support (#1)
5de40335d oaknut: 1.1.2
2952b759f oaknut: Correct MOV (UMOV alias)
c90eb31ca oaknut: 1.1.1
7c777a28f oaknut: Fix ADR and ADRP
7470c7611 oaknut: Add ARMv8.2 instructions
9eb7cca88 oaknut: Update README
3fe32849a oaknut: 1.1.0
542128b51 oaknut: Add ARMv8.1 instructions
9acafdcdd oaknut: fpsimd MOV and UMOV corrections
636f91bac oaknut: MOV: Fix MOVN case
9cb332621 oaknut: Implement arranged accessors from DReg and QReg
ba2dc2afe oaknut: dx
94bf56b08 oaknut: align
aa7a3519f oaknut: Add dw
898f666ec oaknut: Add common system registers

git-subtree-dir: externals/oaknut
git-subtree-split: 72f7ccd9409dadf6a4ab98bad1fb11fbf0ca4d74
2022-11-15 15:36:04 +00:00
Merry
068519b2cd a32_interface: Clear cache invalidation flag prior to performing cache invalidation 2022-11-13 15:38:42 +00:00
Merry
9d6758b4ae emit_arm64: Fix 1MB block link limit 2022-11-11 23:57:07 +00:00
Liam
424fdb5c50 a64_interface: stub for A64 backend 2022-11-09 21:55:11 +00:00
Merry
5f753e483f test_generator: Allow rerunning jit 2022-11-08 21:40:45 +00:00
Merry
d6f2a15834 backend/arm64: Simple block linking 2022-11-08 21:40:45 +00:00
Merry
fa6b58d3a8 emit_arm64: EmitAddCycles: Do not emit code if cycles_to_add == 0 2022-11-08 21:40:45 +00:00
Merry
7dbd87ba2d backend/arm64/a32_address_space: Terminate early if halted prior to execution beginning 2022-11-08 21:40:45 +00:00
Liam
282bd3ad5c a32_interface: fix copy paste error 2022-11-06 21:24:05 +00:00
Merry
e476fad5a2 backend/arm64: Implement cycle counting 2022-11-06 01:10:29 +00:00
SachinVin
b5ad066372
backend/arm64: Properly return halt reason (#713) 2022-11-05 19:32:48 +00:00
Merry
848e0913df decoder_detail: Fix Android NDK compilation issue 2022-11-05 19:25:12 +00:00
Banny
4b80be4bd9
backend/arm64/a32_address_space: Protect code memory at end of prologue emission (#712)
Bug fix
2022-10-23 23:04:10 +01:00
Macdu
f374d6acb0 FPVectorFromHalf32 implementation 2022-10-18 15:04:30 +01:00
Macdu
58a1e4cc63 Implement CallHostFunction 2022-10-18 15:04:30 +01:00
Macdu
79ff9401f3 Small fixes 2022-10-18 15:04:30 +01:00
FreddyFunk
64a5ca7c2e tests: remove unused default iterations in TestThumb 2022-10-18 15:04:30 +01:00
Merry
85fa32ce98 github: Run unit tests for aarch64 2022-10-18 15:04:30 +01:00
Merry
1d60047078 a32_interface: Temporary implementation of ranged cache invalidation 2022-10-18 15:04:30 +01:00
Merry
d90e0db502 backend/arm64: Implement Step 2022-10-18 15:04:30 +01:00
Merry
cf47ab3b42 emit_arm64_a32_memory: Implement all callbacks 2022-10-18 15:04:30 +01:00
Merry
d2deb496da tests/A32: Add coprocessor tests 2022-10-18 15:04:30 +01:00
Merry
94f5ae4f37 emit_arm64_a32_coprocessor: Implement coprocessor IR instructions 2022-10-18 15:04:30 +01:00
Merry
0f0744cb78 emit_arm64_a32: Implement A32CallSupervisor and A32ExceptionRaised 2022-10-18 15:04:30 +01:00
Merry
882490b372 frontend: Fix MSVC narrowing conversion warning for VectorSignedSaturatedShiftLeftUnsigned argument 2022-10-18 15:04:30 +01:00
Merry
f4747aea10 test_generator: Increase iterations 2022-10-18 15:04:30 +01:00
Merry
806a50703b test_generator: Test ASIMD 2022-10-18 15:04:30 +01:00
Merry
2532cfba4d emit_arm64_vector_floating_point: Implement 2022-10-18 15:04:30 +01:00
Merry
1badc92456 emit_arm64_cryptography: Fix sha256h2 2022-10-18 15:04:30 +01:00
Merry
d4b98c7be4 emit_arm64_vector: Implement VectorPaired{Max,Min}Lower 2022-10-18 15:04:30 +01:00
Merry
f92cb5e66f IR: Remove VectorShuffleWords
Introduce VectorRotateWholeVectorRight
2022-10-18 15:04:30 +01:00
Merry
8fb37e0e4f IR: Introduce VectorPaired{Min,Max}Lower 2022-10-18 15:04:30 +01:00
Merry
3df0eb30be emit_arm64_vector: Implement Saturated Accumulate 2022-10-18 15:04:30 +01:00
Merry
c5b45dc5d5 emit_arm64_vector: Implement VectorSignedSaturatedShiftLeftUnsigned 2022-10-18 15:04:30 +01:00
Merry
08b123feb5 IR: Modify VectorSignedSaturatedShiftLeftUnsigned to only accept immediate shift amounts 2022-10-18 15:04:30 +01:00
Merry
3216ed3451 emit_arm64_vector: Fix VectorTranspose 2022-10-18 15:04:30 +01:00
Merry
0a5ebd5b57 emit_arm64_vector: Fix VectorTableLookup64 2022-10-18 15:04:30 +01:00
Merry
99d5caa06d A32/asimd_two_regs_misc: Remove use of VectorShuffleWords in VUZP 2022-10-18 15:04:30 +01:00
Merry
4417314619 emit_arm64_vector: Implement VectorReverseElement 2022-10-18 15:04:30 +01:00
Merry
9313f5ea88 IR: Remove VectorShuffleHighHalfwords and VectorShuffleLowHalfwords 2022-10-18 15:04:30 +01:00