Commit Graph

179 Commits (5933b3ea967341eb8e891b8141015c6ecd815830)

Author SHA1 Message Date
Lioncash f5d7706ca1 externals: update fmt to version 5.1.0
Previously, we were on 4.1.0, which was a major version behind.
7 years ago
Lioncash 0722adb471
externals: Update dynarmic to dfdec79 7 years ago
bunnei afb26b190f
Merge pull request #585 from janisozaur/patch-11
Improve directory creation in WindowsCopyFiles.cmake
7 years ago
Lioncash 650c89bbbc
externals: Update dynarmic to f7d11baa1 7 years ago
Michał Janiszewski 23dc36ed71
Improve directory creation in WindowsCopyFiles.cmake 7 years ago
bunnei 0b831dd2ba
Revert "Use Ninja for MSVC AppVeyor builds" (#584) 7 years ago
Michał Janiszewski 5c3d5d0849 Use Ninja for MSVC AppVeyor builds 7 years ago
Lioncash 74efdd6928 externals: Update dynarmic
Updates dynarmic to revision 990a569b7a5f2518fe08682f5ebf8536e5388d66
7 years ago
Lioncash e56e2a1528
externals: Update dynarmic
Just a basic update to keep it in sync
7 years ago
Lioncash b2febaff2f
externals: Update dynarmic to HEAD 7 years ago
James Rowe f9945f8a3b Update fmtlib to fix msvc warnings
Additionally, when updating fmtlib, there was a change in fmtlib broke
how the old logging macro was overloaded, so this works around that by
just naming the fmtlib macro impl something different
7 years ago
Daniel Lim Wee Soong c9845c486e externals: Update fmt to 4d35f94
Versions prior to this didn't compile on OpenBSD due to unconditional
use of the non-standard strtod_l() function.

The fmt::MemoryWriter API has been removed in the intervening
versions, so replace its use with fmt::memory_buffer and fmt::format_to.

The library also no longer provides the fmt::fmt ALIAS, so define
it in externals/CMakeLists.txt.
7 years ago
MerryMage 57eca6374a dynarmic: Update to 9cc12d8
9cc12d8 abi: Missing includes
ac35ad5 emit_x64_floating_point: Near jump instead of short jump in FPMinNumberic{32,64}
6f03fdd A64: system: Use an enum class for MRS/MSR register encodings
7 years ago
MerryMage 78a81614ee dynarmic: Update to 12a1020
12a1020 emit_X64_floating_point: Near jmp to end instead of short jmp
6278f83 emit_x64_vector: Fix typo in VectorShuffleImpl
25a0204 A64: Implement REV64
aa92e33 bit_util: Do nothing in RotateRight if the rotation amount is zero
e537985 A64: Implement REV32 (vector)
f62a258 ir: Add IR opcodes for emitting vector shuffles
36ac6ec emit_x64_vector_floating_point: Fix out of bounds array access in EmitVectorOperation64
20a59a9 A64: Implement REV16 (vector)
b2f7bb0 CMakeLists: Add fp_util, macro_util and math_util headers
fd21b58 A64: Implement EOR3 and BCAX
a48c0bb travis: Use yuzu's unicorn fork
59e62e0 externals: Update catch to v2.2.1
7 years ago
bunnei a1cf5020e6 externals: Update Glad to latest version used by Citra. 7 years ago
MerryMage 32d127ad3e dynarmic: Update to 6b4c6b0
6b4c6b0 impl: Update PC when raising exception
7a1313a A64: Implement FDIV (vector)
b2d781d system: Raise exception for YIELD, WFE, WFI, SEV, SEVL
b277bf5 Correct FPSR and FPCR
7673933 A64: Implement USHL
8d0e558 A64: Implement UCVTF (vector, integer), scalar variant
da9a4f8 A64: Partially implement FCVTZU (scalar, fixed-point) and FCVTZS (scalar, fixed-point)
7479684 A64: Implement system register TPIDR_EL0
0fd75fd A64: Implement system registers FPCR and FPSR
31e370c A64: Implement system register CNTPCT_EL0
9a88fd3 A64: Implement system register CTR_EL0
1d16896 A64: Implement NEG (vector)
3184edf IR: Add IR instruction ZeroVector
31f8fbc emit_x64_floating_point: Add maybe_unused to preprocess parameter
567eb1a A64: Implement FMINNM (scalar)
c6d8fa1 A64: Implement FMAXNM (scalar)
616056d constant_pool: Add frame parameter
a3747cb A64: Implement ADDP (scalar)
5cd5d9f reg_alloc: Only exchange GPRs
dd0452a A64: Implement DUP (element), scalar variant
e5732ea emit_x64_floating_point: Correct FP{Max,Min}{32,64} implementations for -0/+0
40eb9c3 A64: Implement FMAX (scalar), FMIN (scalar)
7cef39b fuzz_with_unicorn: QEMU's implementation of FCVT is incorrect
826dce2 travis: Switch unicorn repository
9605f28 a64/config: Allow NaN emulation accuracy to be set
e9435bc a64_emit_x64: Add conf to A64EmitContext
30b596d fuzz_with_unicorn: Explicitly test floating point instructions
be292a8 A64: Implement FSQRT (scalar)
3c42d48 backend_x64: Accurately handle NaNs
4aefed0 fuzz_with_unicorn: Print AArch64 disassembly
7 years ago
FernandoS27 bd6432f1ff updated dynarmic 7 years ago
MerryMage 6085d32cf5 arm_dynarmic: Support direct page table access 7 years ago
MerryMage 45e5a67676 dynarmic: Fix bug due to Windows ABI mismatch 7 years ago
MerryMage d3bbed5e78 dynarmic: Update to 41ae12263
Changes: Primarily implementing more A64 instructions
7 years ago
Lioncash 090da0b5c1
externals: Update catch to v2.1.1 7 years ago
MerryMage e7cb20fbf0 externals: Update dynarmic
a6d17e A64: Implement AND (vector)
963453 tests/A64: Randomize vectors
adcd34 tests/A64/unicorn: Print interrupt number when InterruptHook is hit
304c91 tests/A64: Allow RunTestInstance to start from an arbitrary offset
d333b5 A64: Implement ADD (vector, vector)
1cf87a A64: Implement REV, REV32, and REV16 (#126)
9fc157 IR: Simplify types. F32 -> U32, F64 -> U64, F128 -> U128
50c181 reg_alloc: GetBitWidth: Add UNREACHABLE
adccbf reg_alloc: Consider bitwidth of data and registers when emitting instructions
7b7f23 A64: Implement CSEL
2f8413 IR: Implement Conditional Select
ebb3e8 A64/tests: Split unicorn sanity checking from other tests
5740a0 tests/A64: Single random instruction: Test branch instructions as well
0892b4 A64/translate/branch: bug: Read-after-write error in BLR
e77bc2 A64: Implement SBFM, BFM, UBFM
0c37ca A64: Implement MOVN, MOVZ, MOVK
b6bb59 travis: Print current test information
e77207 fuzz_thumb: Off by one error
a04ca2 ir/location_descriptor: Add missing <functional> header for std::hash
1e0f5c travis: Run A64 tests
7 years ago
bunnei be0e14ab3e
Merge pull request #84 from lioncash/cmake
CMakeLists: Derive the source directory grouping from targets themselves
7 years ago
Lioncash e710a1b989 CMakeLists: Derive the source directory grouping from targets themselves
Removes the need to store to separate SRC and HEADER variables, and then
construct the target in most cases.
7 years ago
Lioncash 2b3ee30a46 externals: Update catch to 2.1.0 7 years ago
James Rowe e026b66bbb Build: Add unicorn as a submodule and build it if needed
Adds a cmake custom target that will build unicorn on first compile and
uses this in the build scripts as well. Updates Appveyor and Travis
build scripts to work with the new unicorn build, and updates the paths
to all of the different artifacts.
7 years ago
unknown af6e0faf0a Fix some warnings 7 years ago
Andrix44 b20dfb357b Fix some warnings in the microprofile 7 years ago
bunnei feae1c4c32 externals: Remove unused repos. 7 years ago
MerryMage 668e5452fa Update dynarmic to bc73004
bc73004 a64_merge_interpret_blocks: Remove debug output
4e656ed tests/A64: Randomize PSTATE.<NZCV>
fd9530b A64: Optimization: Merge interpret blocks
3c9eb04 testenv: Use format constants
324f3fc tests/A64: Unicorn interface fixes
98ecbe7 tests/A64: Fuzz against unicorn
b1d38e7 tests/A64: Move TestEnvironment to own header
5218ad9 A64/data_processing_pcrel: bug: ADR{,P} instructions sign extend their immediate
b1a8c39 A64/data_processing_addsub: bug: {ADD,SUB}S (extended register) instructions write to ZR when d = 31
64827fb a64_emit_x64: bug: A64CallSupervisor trampled callee-save registers
1bfa04d emit_x64: bug: OP m/r64, imm32 form instructions sign-extend their immediate on x64
edadeea A64 inferface: Use two argument static_assert
9ab1304 A64: Add ExceptionRaised IR instruction
6843eed Update readme
7438d07 A64/translate: Add TranslateSingleInstruction function
7 years ago
James Rowe ebf9a784a9 Massive removal of unused modules 7 years ago
bunnei 287485e3a7 boost: Update version. 7 years ago
bunnei 8e51c61dbc core: Gut out cryptop, since it doesn't compile with C++17. 7 years ago
MerryMage 106d900f93 dynarmic: Update to 83afe435 7 years ago
MerryMage d2fbc78320 arm_dynarmic: Implement core 7 years ago
MerryMage f10a304ecd fix macos build 7 years ago
bunnei da7053b169 cmake: Add script to find Unicorn. 7 years ago
bunnei dcfbad2129 cmake: Don't compile Dynarmic as it's unused. 7 years ago
bunnei d327f66990 externals: Point dynarmic at a real commit. 7 years ago
bunnei 3e80202604 externals: Update dynarmic and xbyak. 7 years ago
bunnei b1d5db1cf6 Merge remote-tracking branch 'upstream/master' into nx
# Conflicts:
#	src/core/CMakeLists.txt
#	src/core/arm/dynarmic/arm_dynarmic.cpp
#	src/core/arm/dyncom/arm_dyncom.cpp
#	src/core/hle/kernel/process.cpp
#	src/core/hle/kernel/thread.cpp
#	src/core/hle/kernel/thread.h
#	src/core/hle/kernel/vm_manager.cpp
#	src/core/loader/3dsx.cpp
#	src/core/loader/elf.cpp
#	src/core/loader/ncch.cpp
#	src/core/memory.cpp
#	src/core/memory.h
#	src/core/memory_setup.h
7 years ago
bunnei 9eb4888df7 externals: Add lz4. 7 years ago
James Rowe 9e847b7549 Build: Enable SSL in mingw by linking against WinSSL
The mingw builds aren't submitting telemetry because the curl library
they are linked against is configured to use openSSL and openSSL looks
for the certificates in the users home folder. This keeps it from
contacting web services because it can't communicate over SSL.

This commit adds a download in mingw builds that will download a
precompiled curl for mingw linked against winssl and sspi.
7 years ago
MerryMage 056a08cdbf externals: Update soundtouch 8 years ago
James 1a44949ef7 Update cryptopp 8 years ago
James 32745ead7e Add description of upstream repo 8 years ago
James 87dea94e14 Don't pull in entire JSON repo for single header file 8 years ago
Weiyi Wang 5137a198f9 Merge pull request #2824 from jroweboy/mingw_compile_test
Update enet submodule
8 years ago
James Rowe 5990cae193 Update enet submodule
This includes a fix merged upstream to support mingw compilation
8 years ago
bunnei 33b012e86b web_service: Add CMake flag to enable. 8 years ago
bunnei 0f1ae781d0 externals: Add JSON as a submodule. 8 years ago
bunnei cc7583e036 externals: Add CPR as a submodule. 8 years ago
B3n30 2e37ce01c9 Implement basic virtual Room support based on enet (#2803)
* Added support for network with ENet lib,

connecting is possible, but data can't be sent, yet.

* fixup! Added support for network with ENet lib,

* fixup! CLang

* fixup! Added support for network with ENet lib,

* fixup! Added support for network with ENet lib,

* fixup! Clang format

* More fixups!

* Moved ENetHost* and ENetPeer* into pimpl classes

* fixup! Moved ENetHost* and ENetPeer* into pimpl classes

* fixup! Clang again

* fixup! Moved ENetHost* and ENetPeer* into pimpl classes

* fixup! Moved ENetHost* and ENetPeer* into pimpl classes

* fixup! Moved ENetHost* and ENetPeer* into pimpl classes
8 years ago
Klöen Lansfiel d1e414d813 externals: silence warning C4390 on MSVC for cryptopp (#2805) 8 years ago
Yuri Kunde Schlesner f6715f98f5 Stop using reserved operator names (and/or/xor) with Xbyak
Also has the Dynarmic upgrade with the same change
8 years ago
Yuri Kunde Schlesner 60d70c4f43 Externals: Upgrade bundled Boost to 1.64 8 years ago
Yuri Kunde Schlesner c211368734 CMake: Move definitions of externals to the CMakeLists in that directory 8 years ago
Yuri Kunde Schlesner cebdae6c92 CMake: Create an INTERFACE target for Catch 8 years ago
Yuri Kunde Schlesner 4f84372bc2 CMake: Add cryptopp include path to target property 8 years ago
Yuri Kunde Schlesner cb49df156d CMake: Use target properties to add inih include paths 8 years ago
Yuri Kunde Schlesner 089baa04e8 CMake: Stop using FindOpenGL, which seems to not be required anymore 8 years ago
Yuri Kunde Schlesner a06220682c Add the fmt string formatting library
More info at http://fmtlib.net/

This commit was based on @jroweboy's work on his spdlog branch, but with
modifications.
8 years ago
Yuri Kunde Schlesner 4e88458814 Update dynarmic
Updated to incorporate fix from MerryMage/dynarmic#106 which is required
for using fmt in Citra.
8 years ago
Lioncash e74ada0a73 externals: Update catch to 1.9.4 8 years ago
Yuri Kunde Schlesner 24e0b1ed8d externals: Update to boost v1.63.0 8 years ago
wwylele 261250e3d9 externals: remove -march=native for crypto++ 8 years ago
wwylele ea1ea0224c HW: add AES engine & implement AES-CCM 8 years ago
Weiyi Wang dbc94efdb5 Core: add cryptopp library (#2412) 8 years ago
Kloen e14dcd0789 externals: nihstro, update to latest master 8 years ago
Fernando Sahmkow d8af401b2c Fix Microprofile in MinGW (#2530) 8 years ago
noah the goodra 2509c44078 changed the WIN32 macro in microprofileui (#2528)
I changed the macro in microprofileui.h from WIN32 to _WIN32 so that it
would correctly dectect that its being compiled on a windows platform
8 years ago
MerryMage e2815408fd arm_dynarmic: Update memory interface 8 years ago
MerryMage 2b36d4c9d7 arm_dynarmic: CP15 support 8 years ago
Kloen 3597687453 externals: Updated nihstro to latest master. Fix warning on MSVC 8 years ago
Kloen abc5c134a3 Removed unused and outdated external qhexedit 8 years ago
MerryMage f8cf87ce34 arm_dynarmic: Provide MemoryReadCode callback
Change of interface in dynarmic 36082087ded632079b16d24137fdd0c450ce82ea
8 years ago
Yuri Kunde Schlesner 17fccb8c5d Externals: Add Xbyak 8 years ago
Yuri Kunde Schlesner 16df1f8078 externals: Update Dynarmic
Required to be able to use Xbyak in Citra without header conflicts.
8 years ago
Subv a088ebe903 Dynarmic: Update dynarmic to version
54d051977f7a6af9c7596ba6a4e6eb467bd1e0bc

dynarmic log:

54d0519 emit_x64: Use movdqa instead of movaps in EmitPackedSubU8
52e1445 Implement USUB8:33 2016 +0000
5c1aab1 Implement CLZ
1a1646d Implement UADD8
7cad694 IR: Implement new pseudo-operation GetGEFromOp
370f654 fuzz_arm: Add tests for parallel add/subtract (modulo)
25f21b5 emit_x64: Inline nzcv computation into EmitFPCompare32 and EmitFPCompare64
52fdec5 CMakeLists: Add support for LLVM on Windows
cede5e4 emit_x64: Use xorps/xorpd when argument to TransferToFP32/TransferToFP64 is an immediate zero
e166965 Implement VCMP2:33 2016 +0000
f2fe376 Support 64-bit immediates
ff00b8c Document register allocator and return stack buffer optimization
95f34c6 reg_alloc: Remove unnecessary breaks after returns (#54)
dc9707e externals: Update xbyak to 5.32
de1f831 microinstruction: Make use_count private (#53)
3621a92 reg_alloc: Register allocator related constraints belong with the rest of the register allocator
8 years ago
MerryMage c46b3dec63 dynarmic: Fix ABI violation
Caused by not saving/restoring the x64 r15 register on entry/exit from
JITted code.

Closes #2224.
8 years ago
James Rowe f32309400c Update dynarmic to the latest version (#2234) 8 years ago
James Rowe c3ea6f4ddb Add mingw compile support 8 years ago
Jan Beich 50ce19b3ff microprofile: unbreak on POSIX systems
In file included from src/common/microprofile.cpp:7:
In file included from src/./common/microprofile.h:23:
externals/microprofile/microprofile.h:830:5: error: use of undeclared identifier 'MP_BREAK'
    MP_ASSERT(t == nBegin);
    ^
externals/microprofile/microprofile.h:238:34: note: expanded from macro 'MP_ASSERT'
                                 ^
externals/microprofile/microprofile.h:831:5: error: use of undeclared identifier 'MP_BREAK'
    MP_ASSERT(nTimerIndex == (nToken&0x3fff));
    ^
externals/microprofile/microprofile.h:238:34: note: expanded from macro 'MP_ASSERT'
                                 ^
[...]
8 years ago
bunnei 1ea1affe0a dynarmic: Add new submodule. 8 years ago
bunnei dba91b2ecf externals/boost: Use latest upstream with variant. 8 years ago
Lectem c7125f37aa Fixes SDL2.dll copy to bindir on windows 9 years ago
MerryMage a03f9b6fb6 tests: Infrastructure for unit tests 9 years ago
MerryMage 27ce3b3f51 Externals: Add soundtouch 9 years ago
Sam Spilsbury fdd7e9e86a microprofileui: Use correct printf specifier 9 years ago
Sam Spilsbury aacc3a4a59 microprofile: Use std::abs
Using the global-namespace C function will cause the wrong
overload to get picked
9 years ago
tfarley 15b44fb380 Update to ext-boost with interval_map 9 years ago
bunnei 0a1c73e396 Merge pull request #1517 from Lectem/fixSDLcmake
fix SDL2 detection for Visual
9 years ago
Jannik Vogel 0cdf8ff102 Update nihstro to latest master 9 years ago
Lectem c8f8e70d31 fix SDL2 detection for Visual 9 years ago
bunnei cf414db710 externals: Remove unused GLFW library from the repo. 9 years ago
MerryMage ba2a54a9dd Dependencies: Remove GLFW, Add SDL2
citra: Remove GLFW, Add SDL2

FindSDL2: Do not CACHE SDL2_* variables if library is not found

EmuWindow_SDL2: Set minimal client area at initialisation time

EmuWindow_SDL2: Corrections

EmuWindow_SDL2: Fix no decorations on startup on OS X

cmake: windows_copy_files
9 years ago
Emmanuel Gil Peyrot 2e8a7a7a08 Externals: Regenerate GLAD with GL_KHR_debug support. 9 years ago
Yuri Kunde Schlesner d8311e8365 CMake: Add missing library required by Linux for compiling glad 9 years ago
Yuri Kunde Schlesner a1a5570e97 Replace the previous OpenGL loader with a glad-generated 3.3 one
The main advantage of switching to glad from glLoadGen is that, apart
from being actively maintained, it supports a customizable entrypoint
loader function, which makes it possible to also support OpenGL ES.
10 years ago
Yuri Kunde Schlesner 0fcabd2b11 Integrate the MicroProfile profiling library
This brings goodies such as a configurable user interface and
multi-threaded timeline view.
10 years ago