Commit Graph

114 Commits

Author SHA1 Message Date
TellowKrinkle 561fb7a4be GS: Prepare for separation of multi-isa code 2022-12-03 00:52:10 -06:00
TellowKrinkle 0692a9ff51 Core: Use GCC-style defines for sse detection
Much nicer for adding extensions afterwards
2022-12-03 00:52:10 -06:00
AKuHAK 2ab27ef42a formatter: apply editorconig into various files 2022-11-25 22:41:00 +00:00
Connor McLaughlin 56501e0811 x86emitter: Fix up emitting of xmm -> ptr64 operands 2022-11-19 04:59:10 +00:00
Connor McLaughlin 3d6a550f23 x86Emitter: Add 8-bit variants for spl..r15b
Also fixes PINSR/PEXTR.
2022-11-19 04:59:10 +00:00
Connor McLaughlin 92ad6f3baf x86emitter: Fix missing W REX bit for movq reg, xmm 2022-10-14 22:24:42 +01:00
Connor McLaughlin 375c0a02bb x86emitter: Add some AVX/AVX2 instructions and YMM registers 2022-10-14 20:54:39 +01:00
Connor McLaughlin af646e4496 Common: Add StringUtil::ToChars() wrapper 2022-09-25 14:49:48 +02:00
Connor McLaughlin 06fee385e1 Tests: Add unit tests for UNC paths on Win32 2022-05-31 11:01:14 +01:00
Connor McLaughlin 1f802eca46 Common: Redo assertions, purge DiagnosticOrigin 2022-05-25 10:15:48 +01:00
Connor McLaughlin ea051c6d5f Everything: Get rid of wx entirely from the Qt build 2022-05-22 13:58:56 +01:00
Connor McLaughlin 893b3c629d Everything: Remove a **lot** of wx, and px nonsense
- common has no wx left except for Path.
 - pcsx2core only has it in a few places (memory cards and path related
   stuff).
2022-05-22 13:58:56 +01:00
Connor McLaughlin 925bfc2a99 Tests: Set PCSX2_CORE macro
They shouldn't be using wx, and it gets rid of the pthreads4w reference.
2022-05-09 16:06:33 +01:00
lightningterror d89daa1b25 misc: A few more 32bit cleanups. 2022-03-21 20:56:03 +01:00
lightningterror 8427e6fd3e emitter test: Cleanup 32bit code. 2022-03-21 20:21:36 +01:00
TellowKrinkle 5bdec2f532 x86emitter: Fix x64 8-bit rmw codegen 2022-03-11 12:59:57 +00:00
TellowKrinkle 679cc7af38 GS: pshufb-based ReadAndExpandBlock4_32 2022-02-02 09:34:30 +00:00
TellowKrinkle b74be70ffc GS: Switch integer typedefs to match rest of pcsx2
Had to capitalize the names of some struct params that had the same names
2021-11-14 13:52:20 -06:00
TellowKrinkle 39c7f11b98 GS: Pixel loop optimizations 2021-11-07 03:44:31 +00:00
TellowKrinkle 8eb50c3517 GS: Switch to new non-cached GSOffset 2021-11-07 03:44:31 +00:00
TellowKrinkle 65e57a8230 iR5900: Use 64-bit math on x86-64 2021-09-22 12:47:49 +01:00
Silent f343614640 Target Windows 8 via project settings
It's needed for the next commit, as thanks to wxWidgets
anything using the precompiled header would default to 0x0600 (Vista)
instead of 0x0602 (Win8).

Now-redundant WINNT definitions resulting in macro redefinition
warnings have been removed.
2021-09-16 17:31:45 -04:00
kojin 831c8b9189 common: fix cmake on win32 2021-09-04 18:28:07 -04:00
TellowKrinkle 4d8b9aee2a CMake: Support windows for tests 2021-08-28 03:25:33 +01:00
TellowKrinkle f032e663cd testing: Fix x86emitter includes on x86emitter tests 2021-08-02 00:24:59 -05:00
TellowKrinkle 70a1b31f5d testing: Add block swizzle tests 2021-08-02 00:24:59 -05:00
TellowKrinkle 5bfd48c65c cmake: Convert indentation to tabs
Previously was a random mix of tabs and spaces
2021-07-16 22:05:48 -05:00
lightningterror 89a33c0ab3 misc: A couple of more leftovers from SPU2 merge. 2021-01-04 02:07:30 +01:00
Tellow Krinkle dc57270fb8 EE/IOP/VU: x86-64 recompiler support 2020-08-24 16:20:09 -05:00
tellowkrinkle 4f56db9f18
Fix codegen on x86-64 (#3512)
Fix codegen on x86-64

Part 1 of the changes being worked on in #3451

Makes x86emitter emit the x86-64 machine code you would expect it to

Also adds some unit tests to verify that things are working
2020-08-19 09:19:28 +01:00
Gregory Hainaut 8ab46827de tests: be more user friendly
Default inis dir
Use 8 CPU by default
Print a nice gdb command to replay the test
2016-02-12 19:10:36 +01:00
Gregory Hainaut 91e46a94f5 tests: disable spu sound in test
Avoid spurious alsa error message
2016-01-30 12:39:17 +01:00
Gregory Hainaut eaa211212d ee-fpu: upgrade the FPU to 3.0
properly return reserved register

Fix FCR test :)
2016-01-29 23:24:11 +01:00
Gregory Hainaut 65daf74d0e tests: sort the blacklisted test 2016-01-29 19:53:21 +01:00
Gregory Hainaut 1d4e2cedf8 tests: update the list of bad test 2016-01-27 22:39:40 +01:00
Gregory Hainaut 522149f503 tests: remove some carriage returns 2016-01-26 18:15:47 +01:00
Gregory Hainaut 75ec16fd72 test: redo run phase to support windows 2016-01-26 09:18:15 +01:00
Gregory Hainaut 393e56a604 tests: handle better timeout
Relying on the timeout program
2016-01-24 22:32:00 +01:00
Gregory Hainaut 411010e6e6 tests: add --bad option to run only blacklisted test 2016-01-24 20:11:25 +01:00
Gregory Hainaut 64718e576f test: fix path mess
Not a good idea to compute the absolute path 2 times. Add more logging.
2016-01-24 19:27:24 +01:00
Gregory Hainaut 3f5ac02697 tests: take 431414...
restore cwd after the find
just put the front letter in cyg_abs_path (as previous working bash script)
2016-01-24 18:53:46 +01:00
Gregory Hainaut 8b1c465bf6 fix a typo 2016-01-24 18:28:38 +01:00
Gregory Hainaut 00dea566f2 tests: auto detect cygwin 2016-01-24 18:18:22 +01:00
Gregory Hainaut e8f8d55010 tests: uses standard perl path for perl operation 2016-01-24 16:37:36 +01:00
Gregory Hainaut e985488471 tests: create a common cygpath function to ease future test 2016-01-24 15:21:47 +01:00
Gregory Hainaut 91362f938d tests: use cygpath on cfg destination dir 2016-01-23 18:58:36 +01:00
Gregory Hainaut 82fe0148f2 tests:chomp cygpath 2016-01-23 18:50:43 +01:00
Gregory Hainaut b174f4736f tests: replace cygwin auto detection by an option
Until I found a better solution
2016-01-23 18:42:17 +01:00
Gregory Hainaut e0ac3cfb12 test: add an useful print 2016-01-23 18:37:22 +01:00
Gregory Hainaut 8ff78378cd tests: try to be compatible with cygwin 2016-01-23 18:35:34 +01:00
Gregory Hainaut e36f1d3128 tests: requires a double escape due to double evaluation 2016-01-23 13:45:16 +01:00
Gregory Hainaut c00b427efa tests: add irx support 2016-01-23 13:37:39 +01:00
Gregory Hainaut 6b513239f8 tests: add --option k=v to overload PCSX2 option
Allow to easily switch rounding/clamping/Interpreter vs recompiler
2016-01-20 20:31:55 +01:00
Gregory Hainaut 7b2dc697fb tests: add dry_run and regression option
dry_run to quickly test the script
regression to blacklist bad test
2016-01-20 19:37:45 +01:00
Gregory Hainaut 8a9a56707c tests: fix diff bug and use default option value
You can use the 2 following variables to give a default --suite and --cfg options
* PS2_AUTOTESTS_ROOT
* PS2_AUTOTESTS_CFG
2016-01-20 07:56:32 +01:00
Gregory Hainaut 30c4456b85 tests: port shell code to pure PERL 2016-01-19 22:59:20 +01:00
Gregory Hainaut fd237244a2 tests: add a testname option to filter tests
[skip ci]
2016-01-18 23:53:28 +01:00
Gregory Hainaut 39f661c5f5 tests: show replay command for timed-out test 2016-01-18 23:40:04 +01:00
Gregory Hainaut 807ec04229 tests: help + replay command
Remove useless debug info too
2016-01-18 21:41:16 +01:00
Gregory Hainaut 44f1281915 tests: add a show diff opt 2016-01-18 20:26:36 +01:00
Gregory Hainaut c6794733ca tests: detect timeout
Unfortunately I doesn't manage to kill the bad process.
2016-01-18 20:20:57 +01:00
Gregory Hainaut 157b68a29f tests: add a nice reporting status, fix MT test 2016-01-18 18:54:43 +01:00
Gregory Hainaut 68daf5f0ad test: improve the test runner
Improve the configuration of the build (log)
Run on multiple CPU (not tested)

Remove the logging hack in the GUI

Still miss:
* result
* help
2016-01-18 18:19:38 +01:00
Gregory Hainaut b9c5ab08a8 test: add a new PERL test runner
Miss all importants features.
* Multi thread
* Self Configuration
* Result report
* help ;)
2016-01-18 10:34:58 +01:00