Commit Graph
9533 Commits
Author SHA1 Message Date
Stefanos Kornilios Mitsis Poiitidis d7316fe2d0 OpDisp, IR: Extend InvalidateFlags to invalidate a bitfield, invalidate PF when not emulated 2020-12-03 18:38:16 +02:00
Stefanos Kornilios Mitsis Poiitidis 4a9718c8e8 DFSE: Use uint64_t for flag bitmask, we use up to bit 47 w/ x87 flags 2020-12-03 18:38:08 +02:00
Stefanos Kornilios Mitsis Poiitidis 55f8e64068 IR: Move BFEs to SetFlag, remove from OP_STOREFLAG 2020-12-03 18:05:53 +02:00
Stefanos Kornilios Mitsis Poiitidis de6eee510e x86tables: Mark some SD sse opcodes as 64-bit to reduce overhead 2020-12-03 17:31:58 +02:00
Stefanos Kornilios Mitsis Poiitidis f0e2d9364f OpDisp: Avoid some pointless vinserts 2020-12-03 17:31:51 +02:00
Stefanos Kornilios Mitsis Poiitidis d481bd4ffc Merge pull request #541 from Sonicadvance1/remove_sonicutils
Moves SonicUtils in to FEXCore
2020-12-03 16:54:56 +02:00
Stefanos Kornilios Mitsis Poiitidis 7c40083106 Merge pull request #539 from Sonicadvance1/more_64bit_syscall_movement
Moves 64bit sigaltstack and execve to 64bit files
2020-12-03 16:51:38 +02:00
Stefanos Kornilios Mitsis Poiitidis 95140f6f84 Merge pull request #538 from Sonicadvance1/move_shmat_x64
Moves shmat to 64bit memory specific file
2020-12-03 16:51:18 +02:00
Ryan Houdek a28df9f5c1 Moves SonicUtils in to FEXCore
Removes the extraneous and dead VM CPU backend
2020-11-29 00:30:28 -08:00
Ryan Houdek 638201254a Moves 64bit sigaltstack and execve to 64bit files
These need specific 32bit handling
2020-11-27 20:33:23 -08:00
Ryan Houdek 94b034db6c Moves shmat to 64bit memory specific file
This removes the bad attempt to keep shm regions in our 64GB shm region

This will need to be handled specially on the 32bit side through its
memory management once we have that wired up
2020-11-27 00:32:25 -08:00
Ryan Houdek e23ae78795 Merge pull request #537 from Sonicadvance1/move_memory_x64
Moves some memory op implementations to x64 file
2020-11-27 00:20:10 -08:00
Ryan Houdek 55129bed41 Merge pull request #536 from Sonicadvance1/move_getdents_x64
Moves the getdents implementations for x64
2020-11-27 00:19:33 -08:00
Ryan Houdek 9951bc7b1a Merge pull request #535 from Sonicadvance1/fix_cpuid_vendor
Fixes manufacturer id for CPUID fn8000_0000
2020-11-27 00:19:10 -08:00
Ryan Houdek c53d5099a3 Merge pull request #534 from Sonicadvance1/32bit_x87_tests
Translates the x87 tests to be 32bit
2020-11-27 00:09:31 -08:00
Ryan Houdek 516db28a20 Moves some memory op implementations to x64 file
These will need to be unique for 32bit
2020-11-26 18:06:27 -08:00
Ryan Houdek b228d6bad1 Moves the getdents implementations for x64
These end up being different for x32 so move them now
2020-11-26 17:58:32 -08:00
Ryan Houdek fb973f23dd Fixes manufacturer id for CPUID fn8000_0000
This has the same vendor ID in the as CPUID fn0000_0000
2020-11-26 17:44:46 -08:00
Ryan Houdek 07f5d7cdec Translates the x87 tests to be 32bit 2020-11-26 17:35:11 -08:00
Ryan Houdek 57ea8da1c9 Merge pull request #533 from phire/ROR_ROL
Remove 8/16bit ROR and all ROL IR ops as arm doesn't support them
2020-11-25 17:07:54 -08:00
Scott Mansell ee98cbfe3f IR: Remove Rol as it's not native to ARM 2020-11-26 14:00:24 +13:00
Scott Mansell 0ec6e40a67 IR: Remove 8/16bit ROR
Opcode Dispatcher will now explictly emualte them
2020-11-26 14:00:24 +13:00
Scott Mansell 5b1d4eadd4 IR: Make BFI sizes explicit
Otherwise they can be quite hard to get right.
2020-11-26 12:40:37 +13:00
Ryan Houdek 269c73f60b Merge pull request #531 from Sonicadvance1/remove_dead_tls
Removes dead TLS setting code
2020-11-25 13:45:29 -08:00
Ryan Houdek 5b1a8e90f4 Merge pull request #532 from phire/gdb_fixes
GdbServer fixes
2020-11-25 13:45:02 -08:00
Scott Mansell 5ca6435dd5 GdbServer: Add Hacky segfault signal handling 2020-11-26 10:36:29 +13:00
Scott Mansell cf8365d923 Core: Fix start paused
Otherwise we can't attach to the program
with GDB server before it runs.
2020-11-26 10:19:55 +13:00
Ryan Houdek 6605c6e6eb Removes dead TLS setting code
This is no longer necessary now that phire fixed mapping of static elfs
2020-11-25 13:18:57 -08:00
Ryan Houdek e4820c6fc7 Merge pull request #530 from phire/static_elf_fixes
Fix mapping of static elfs.
2020-11-25 13:09:03 -08:00
Scott Mansell f29e0441e3 Fix mapping of static elfs.
We were previously relocating them up 16KB,
which can cause them to break.
2020-11-26 09:56:22 +13:00
Stefanos Kornilios Mitsis Poiitidis 801698d189 Merge pull request #529 from Sonicadvance1/fix_interpreter_prefix
Shebang rootfs prefix improvements
2020-11-25 10:32:27 +02:00
Ryan Houdek 2ce8148f3f Shebang rootfs prefix improvements
If we are passed a shebang application then append the rootfs prefix for
absolute paths.
Fixes the issue where bash scripts weren't working on ARM.

Also fixes a crash that can occur if FEX wasn't passed in arguments
or if the argument passed in didn't exist.
It'll now instead exit cleanly and state that the application doesn't
exist respectively.
2020-11-24 19:25:27 -08:00
Stefanos Kornilios Mitsis Poiitidis 2711ffc64a Merge pull request #525 from Sonicadvance1/fix_make_thunks
Fixes thunk generation with make
2020-11-23 11:14:09 +02:00
Ryan Houdek 3b16ce2371 Fixes thunk generation with make 2020-11-21 17:45:22 -08:00
Ryan Houdek 840ee82830 Merge pull request #517 from Sonicadvance1/fix_unity_mono
Support unity+mono+bdwgc sigsuspend GC shenanigans
2020-11-21 02:24:38 -08:00
Stefanos Kornilios Mitsis Poiitidis 5a08eab37f Merge pull request #520 from Sonicadvance1/disable_vixl_warnings
Remove annoying vixl warnings
2020-11-20 23:21:44 +02:00
Ryan Houdek 06482600e9 Remove annoying vixl warnings 2020-11-20 01:58:58 -08:00
Ryan Houdek 467a27ba23 This test is unstable between x86 and Arm64 architecture 2020-11-20 01:21:26 -08:00
Ryan Houdek b0c842163e These are now passing 2020-11-20 01:07:54 -08:00
Ryan Houdek 830d8146cf Support unity+mono+bdwgc sigsuspend GC shenanigans 2020-11-20 01:07:54 -08:00
Ryan Houdek f32bc6a5a5 Merge pull request #489 from FEX-Emu/skmp/cc-bypass
OpDisp: flags bypass
2020-11-20 00:48:37 -08:00
Stefanos Kornilios Mitsis Poiitidis 68da25c453 Merge pull request #516 from Sonicadvance1/revert_frontend_resize
Revert "Adds resizable frontend decoded buffer"
2020-11-20 10:21:52 +02:00
Ryan Houdek 1aae6bd231 Revert "Adds resizable frontend decoded buffer"
This reverts commit c122516077.
2020-11-20 00:06:30 -08:00
Ryan Houdek 4503f41957 Merge pull request #473 from FEX-Emu/skmp/memops-addressgen
Complex address generation for Load/StoreMem
2020-11-19 23:57:20 -08:00
Stefanos Kornilios Mitsis Poiitidis 511812dfd9 Merge pull request #513 from Sonicadvance1/compile_service
Implements a threaded compile service routine
2020-11-18 20:57:16 +02:00
Ryan Houdek c430f10c86 Implements a threaded compile service routine
This is made to be completely synchronous to a thread
2020-11-18 10:07:47 -08:00
Stefanos Kornilios Mitsis Poiitidis 0d1fc2869d Merge pull request #512 from Sonicadvance1/cpubackend_compile_service
Adds support for the CPUBackends to run in a compile thread
2020-11-18 20:04:58 +02:00
Stefanos Kornilios Mitsis Poiitidis 59c9138282 Merge pull request #511 from Sonicadvance1/compile_service_shared_data
Adds function for copying data required for threaded compiler
2020-11-18 20:03:27 +02:00
Stefanos Kornilios Mitsis Poiitidis ee2c1cf925 Merge pull request #509 from Sonicadvance1/fix_cache_clear
Fixes cache clear bug on x86_64
2020-11-18 11:16:19 +02:00
Stefanos Kornilios Mitsis Poiitidis ab08544f8e Merge pull request #508 from Sonicadvance1/cpu_count_file
Captures another CPU count file
2020-11-18 11:15:45 +02:00