Scott Mansell
cf8572e090
Explictly as for --no-multiblock in tests
...
We switched the default over a while back, so we haven't
been getting test coverage with multiblock off
2021-03-21 04:57:47 +13:00
Stefanos Kornilios Mitsis Poiitidis
d34cde12ae
Merge pull request #850 from Sonicadvance1/struct_verifier
...
libclang based Struct verifier written in python
2021-03-19 10:06:34 +02:00
Stefanos Kornilios Mitsis Poiitidis
a7dc9d00d2
Merge pull request #864 from Sonicadvance1/cpuid_15h
...
Implements CPUID 15h
2021-03-19 10:02:02 +02:00
Ryan Houdek
dbde2e400e
Merge pull request #863 from Sonicadvance1/enable_invariant_tsc
...
Enables Invariant TSC CPUID bit
2021-03-18 12:39:08 -07:00
Ryan Houdek
bdeefa7bf0
Merge pull request #861 from Sonicadvance1/add_version_config
...
Implements a --version argument
2021-03-18 12:39:00 -07:00
Ryan Houdek
51e513df14
Merge pull request #865 from FEX-Emu/skmp/fix-emufiles-lock
...
EmulatedFiles: Lock around FDToNameMap accesses
2021-03-18 04:11:58 -07:00
Stefanos Kornilios Mitsis Poiitidis
0106b362d6
EmulatedFiles: Lock around FDToNameMap accesses
2021-03-18 12:45:27 +02:00
Ryan Houdek
c7f265158f
Implements CPUID 15h
...
ARMv8 allows you query the cycle counter register very from userspace which allows us to emulate this easily.
My IceLake device returns 1.5Ghz through this interface
My AMD Zen+ device doesn't support this but with measurements has 3Ghz TSC
My Snapdragon 865 device has a TSC frequency of 19.20Mhz
2021-03-18 01:42:44 -07:00
Ryan Houdek
fbf5325bdd
Enables Invariant TSC CPUID bit
...
I keep forgetting to enable this bit. Fixes #855
2021-03-18 00:15:48 -07:00
Ryan Houdek
9b2bd8df28
Implements a --version argument
...
Nicer for the user to determine what their version is
2021-03-17 00:00:57 -07:00
Ryan Houdek
2a074204bc
Merge pull request #859 from Sonicadvance1/improve_fexinterpreter_msg
...
Adds an installer message to the FEXInterpreter install
2021-03-16 23:13:12 -07:00
Ryan Houdek
d79fb37135
Merge pull request #858 from Sonicadvance1/remove_testharness
...
Removes TestHarness
2021-03-16 23:13:03 -07:00
Ryan Houdek
d01b40c5aa
Adds an installer message to the FEXInterpreter install
...
Otherwise it doesn't feel like FEXInterpreter is installing
2021-03-16 22:36:58 -07:00
Ryan Houdek
e871a43387
Merge pull request #857 from phire/deletething
...
Remove old and unused HostCore
2021-03-16 22:30:30 -07:00
Ryan Houdek
ff45b37904
Merge pull request #856 from Sonicadvance1/remove_libcap
...
Removes libcap-dev dependency
2021-03-16 22:30:21 -07:00
Ryan Houdek
62aab57ef7
Removes TestHarness
...
This has been completely deprecated for favour of the TestHarnessRunner instead.
Is unused.
2021-03-16 22:14:49 -07:00
Scott Mansell
208fa0d1fc
Remove old and unused HostCore
...
The thing we are actually using is Source/CommonCore/HostFactory.cpp
2021-03-17 18:09:49 +13:00
Ryan Houdek
634d4fead0
Removes libcap-dev dependency
...
We are only using this for syscalls getcap and setcap.
These are only passthrough pointers and don't need to be handled from a library.
Noticed this while writing user documentation
2021-03-16 22:08:15 -07:00
Ryan Houdek
0bdddedfe6
Merge pull request #853 from FEX-Emu/skmp/dont-lse-though-syscalls
...
RCLSE: Invalidate around OP_SYSCALLs, Syscalls might read the context
2021-03-16 17:54:54 -07:00
Stefanos Kornilios Mitsis Poiitidis
971740991b
RCLSE: Invalidate around OP_SYSCALLs, Syscalls might read the context and need the latest version of it
...
Fixes steam w/ all optimization passes enabled
2021-03-17 02:42:32 +02:00
Ryan Houdek
cb672e035c
Merge pull request #852 from Sonicadvance1/fix_fexconfig_idle
...
Fixes FEXConfig trying to update full refresh
2021-03-16 00:53:40 -07:00
Ryan Houdek
4f64ba582c
Patch up the remaining 32bit structs
2021-03-15 15:51:59 -07:00
Ryan Houdek
fbe2583a04
Fix truncating to not set the log files to 21MB
2021-03-15 15:24:49 -07:00
Ryan Houdek
befe9dcbae
Adds struct verifier to github yaml workflow file
...
This way CI tests this on each commit
2021-03-15 15:24:49 -07:00
Ryan Houdek
aacb0f6891
Adds new struct_verifier ctest to cmake
...
Currently only testing 32bit syscall struct definitions
2021-03-15 15:24:49 -07:00
Ryan Houdek
040cc746e7
Fixes FEXConfig trying to update full refresh
...
This burns a decent amount of CPU time just idling and we don't have active screen elements to matter here
It's still responsive because it'll update as the window gets any events
2021-03-15 09:46:49 -07:00
Ryan Houdek
e0c5840f2c
Adds libclang based struct verifier
...
This requires multiarch on the targets to work.
Will run a header through multiple architectures and ensure that the struct packing all works
2021-03-15 06:58:06 -07:00
Ryan Houdek
48027f1d2e
Moves BUILD_TESTS check up the list
...
This way Source/ can have its own tests
2021-03-15 06:58:06 -07:00
Ryan Houdek
9dc0717cdb
Attributes a few 32bit syscall types
...
This will be necessary for struct verification in the next commit
rusage needed to be updated to match the real rusage. Has unions with two named types
2021-03-15 06:58:06 -07:00
Ryan Houdek
8de7dd8fd0
Merge pull request #848 from Sonicadvance1/remove_warnings
...
Remove most warnings from FEX
2021-03-15 06:57:42 -07:00
Ryan Houdek
79e9477b14
Removes warnings from RAPass
2021-03-14 13:27:40 -07:00
Ryan Houdek
0b8f29000e
Removes warnings from ConstProp
2021-03-14 13:27:39 -07:00
Ryan Houdek
e530e3676f
Removes warnings from IRDumper
2021-03-14 13:27:39 -07:00
Ryan Houdek
0c5e5dbdf2
Removes warnings from OpcodeDispatcher
2021-03-14 13:27:39 -07:00
Ryan Houdek
d8591a8f14
Removes warnings from x86 JITCore
2021-03-14 13:27:39 -07:00
Ryan Houdek
941107120c
Removes warnings from x86 BranchOps
2021-03-14 13:27:39 -07:00
Ryan Houdek
ffc17c90c5
Removes warnings from InterpreterOps
2021-03-14 13:27:39 -07:00
Ryan Houdek
5285f4baa6
Adds CMake option to enable -Werror
...
We aren't error free so can't be default enabled
2021-03-14 13:27:39 -07:00
Ryan Houdek
037781c4d0
Merge pull request #849 from Sonicadvance1/fix_kernel_version
...
Fixes uname version and wraps /proc/version
2021-03-14 11:09:05 -07:00
Scott Mansell
4d2221a456
Merge pull request #831 from phire/one_dispatcher_to_rule_them_all
...
Unify all four dispatchers
2021-03-15 05:42:21 +13:00
Scott Mansell
466dc03c19
Remove stray cmake changes
2021-03-15 04:49:09 +13:00
Scott Mansell
5e1e09a43d
Fix review issues
2021-03-15 04:41:14 +13:00
Ryan Houdek
3a0b475cfa
Wrap /proc/version where we were leaking host kernel information
...
drops the correct FEX version in to the string as well
2021-03-12 20:29:35 -08:00
Ryan Houdek
4ece56ac4d
Fixes uname version string
...
This wasn't following the correct format and it never actually had a working FEX_VERSION define.
Now it pulls in the GIT_DESCRIBE_STRING and brings in the correct date + time format
2021-03-12 20:29:35 -08:00
Ryan Houdek
ea7af248e8
Ensure programs can pull in git_version.h
2021-03-12 20:29:35 -08:00
Scott Mansell
42b186a76c
Don't generate a default vixl::codebuffer
2021-03-12 12:47:29 +13:00
Scott Mansell
bdca7109a4
Force XBYAK64
...
Because XBYAK's autoconfig doesn't quite do the right thing
2021-03-11 23:46:07 +13:00
Scott Mansell
074bedf25c
Automatically use correct ContextBackup type
2021-03-11 23:46:07 +13:00
Scott Mansell
bdb199b6d6
Unify all four dispatchers
2021-03-11 23:46:07 +13:00
Stefanos Kornilios Mitsis Poiitidis
e9afabc4cb
Merge pull request #827 from FEX-Emu/skmp/thunks-json
...
Thunks: Add Thunk json, thunk guest folder
2021-03-11 11:05:23 +02:00