water111
e630b50690
[ckernel] split by game version ( #1559 )
...
* temp
* split up kprint, other than format
* start kmachine
* split kmachine
* split kscheme
* split klink
* split klisten
* split remaining
* jak2 ckernel gets to nokernel loop
2022-06-26 18:17:11 -04:00
water111
d777337095
add zstd library ( #854 )
2021-09-21 22:52:18 -04:00
water111
2b6684aa5c
[decompiler] Working toward bsp
( #717 )
...
* clean up
* before int to float stuff
* before trying to eliminate the separate read and write maps
* partial fix for register issues
* add missing include
2021-07-25 15:30:37 -04:00
water111
95366d21df
Get started on collide-func and clean up log
forms in decompiler ( #713 )
...
* wip
* temp
* temp2
* first part of log macros
* more log macros
* logtest
* clean up
* dont initialize game info because we are missing stuff
2021-07-23 20:51:26 -04:00
water111
a96710f0c5
VU micro mode disassembler ( #517 )
...
* wip
* more
* the rest of the disassembler
2021-05-23 16:59:09 -04:00
water111
2002db359a
[Decompiler] WIP: Stack Spills ( #382 )
...
* set up types
* cleaned up type analysis and got things working through atomic ops
* expression working, need types
* improved types and names
* getting close
* finish up dma-disasm
* fix
2021-04-25 14:48:54 -04:00
water111
64c35ca453
[Decompiler] Stack Variables ( #338 )
...
* clean up type analysis
* get everything set up
* basic stack variables working
* partial load fix
* most of matrix
* add offline tests
2021-03-27 15:18:59 -04:00
water111
413c1f5c74
[Decompiler] Add offline tests ( #303 )
...
* add offline test for gcommon as an example.
* fix test
* unused var
2021-03-03 15:42:55 -05:00
water111
c15c163333
[Decomp] Add SSA based check for expression building ( #292 )
...
* wip
* tests pass
* fix warnings
2021-02-28 12:38:29 -05:00
water111
791c4abfc0
[Decompiler] Static Data Decomp ( #280 )
...
* update all-types
* begin work on static data decompiler
* working for vif disasm array
* mostly working
* finish static data decompilation
2021-02-25 09:51:28 -05:00
water
b0780ce2c8
fix some instruction decodings
2021-02-13 12:05:50 -05:00
water111
126dfc1c45
[Decompiler] Misc fixes for gkernel/math ( #257 )
...
* more cases
* some work on math and floating point stuff
* some decompiling for fun
2021-02-13 11:32:52 -05:00
water111
d9a8f28e52
remove useless sets ( #252 )
2021-02-11 14:35:28 -05:00
Tyler Wilding
65206823ef
Compiler - Implementing more VU Instructions (Part 1 of 2) ( #221 )
...
* A little project cleanup
* Script to grep decompiler results
* Compiler: Implement VNOP -> FNOP (.nop.vf)
temp: test new addition
* Compiler: Implement VMUL.xyzw (.mul.vf)
squash: cleaning up files i don't want to accidentally stage
* Compiler: Implement V[ADD|SUB|MUL].dest instructions
* Compiler: Implement V[ADD|SUB|MUL][x|y|w|z].dest instructions
* Compiler: Implement V[MIN|MAX]{[x|y|z|w]}.dest instructions
* Compiler: Implement V[ABS]{[x|y|z|w]}.dest instructions
* Cleanup review feedback before adding tests and docs
* Tests: Added missing emitter tests
* tests/compiler: Comprehensively test all new instructions
* docs: Add documentation for newly supported operations
* Remove unused vector-h function
* Address review feedback
2021-02-05 15:00:17 -05:00
bb010g
2436a8a541
Nixpkgs support ( #228 )
...
* Use env shebangs
* CMake cleanup, install() invocations, & CTest
`ctest` & the `test` target work now
* Nixpkgs support
2021-02-03 21:29:46 -05:00
water111
a870bb53e4
[Decompiler] Expression 5 ( #218 )
...
* new method of inline-array-class
* up to new array
* wip side effect stuff
* prepare for pop barrier stuff
* add pop barrier
* add local vars hack to compiler
* fix bug, make sort work
* add test for array
* bug fixes
* another bug fix
* refactoring env variable print for casts
* more tweaks
* updates
* final cleanup
* codacy fixes
2021-02-01 20:41:37 -05:00
water111
27f0a7ca44
[Decompiler] Begin expression conversion, rearrange tests ( #209 )
...
* refactor tests and analysis passes
* identity test working
* combine test categories with only a few cases
* more fixes
2021-01-23 16:32:56 -05:00
water111
40d328f4eb
[Decompiler] Test framework for decompiler regression tests and gcommon tests ( #200 )
...
* test framework for pre-expression compact stuff
* check ordering
* more tests
* final tests gcommon
2021-01-18 13:33:32 -05:00
water111
5093b97cda
[Decompiler - New IR] Add AtomicOp ( #181 )
...
* wip decompiler ir
* add AtomicOp stuff
* fix windows build and warnings
* add instruction parser
* include
* make minilzo shared
* odr fix
* a
* fix merge conflicts
* move decompiler into namespace
* update the code coverage to include the decompiler
* add demo test
* add register use test to example test
2021-01-06 20:04:15 -05:00
water111
3331e9cd00
Replace spdlog ( #185 )
...
* remove spdlog
* clang format and fix windows
* add format shared
* windows sucks
2021-01-06 12:16:39 -05:00
Tyler Wilding
69f7f46477
Add Address Sanitizer support to MSVC and CMake ( #182 )
...
* msvc: Add Address Sanitizer
https://devblogs.microsoft.com/cppblog/addresssanitizer-asan-for-windows-with-msvc/
* cmake: Add Address Sanitizer
* docs: Update ReadME
* see if we can replicate the test failure
* windows fixes maybe
* cmake: Compile with gcc and clang (only coverage on
* hacky try again
* clean up
* fix clang issues
* linting
Co-authored-by: water <awaterford111445@gmail.com>
2021-01-04 23:32:51 -05:00
water111
a80b331c27
[Compiler] In-progress support for vector float (AVX) ( #171 )
...
* begin work on vf support
* split reg kind into reg hw kind and class, use class for ireg
* try test
* clang format
* add some more ops and some example functions
* better lvf on statics
* add documentation
2020-12-30 15:33:51 -05:00
water111
e05f3ceefc
Implement gkernel
: Part 2 ( #155 )
...
* update
* small fixes
* deactivate
* simple kernel test
2020-12-08 21:41:36 -05:00
water111
ea479bee98
Add enums and some cleanup ( #148 )
...
* support enums
* better compiler warnings
* tweaks to build with clang
2020-12-02 19:51:42 -05:00
water111
566dc6070f
add zydis library and a simple test ( #108 )
2020-10-31 14:31:13 -04:00
water111
0451a06d76
Set up the compiler to ptrace the runtime ( #107 )
...
* set up the compiler to ptrace the runtime
* clang format
* move debugger state to a separate Debugger class
* support registers and break and continue
* documentation and fix windows
* make listener part of compiler, not a separate library
* implement memory read and write
* fix for windows
2020-10-31 14:07:43 -04:00
water111
a45d180f2c
Try to speed up the build ( #106 )
...
* first attempt
* attempt 2
* windows and formatting fix
2020-10-29 21:27:52 -04:00
Tyler Wilding
b39b6c8ce6
Unrelated: Add back pretty-print tests
2020-10-09 21:19:33 -04:00
Tyler Wilding
c34c0a898d
Use ubuntu 20.04 which has GCC 8 atleast
2020-10-09 20:15:44 -04:00
Tyler Wilding
f712c615ce
Fix remaining failing tests
2020-10-09 19:44:16 -04:00
Tyler Wilding
76bede157d
Merge remote-tracking branch 'water111/master' into generative-tests
2020-10-09 13:31:08 -04:00
Tyler Wilding
83f2751795
Make all tests hermetic, only the tests with kernel left
2020-10-09 13:23:41 -04:00
Tyler Wilding
df6e6dd2a2
Create new categorized test classes, for the most part just a copy of current tests into new framework
2020-10-08 00:06:48 -04:00
water111
b102d22dd9
Replace Form
with goos::Object
( #64 )
...
* add pretty printing to goos form
* temp
* fix format
* fix format
* fix windows build
* again
* windows
* Revert "windows"
This reverts commit b7d448e733
.
* windows again
* give up and just add a getter function
2020-10-04 17:08:10 -04:00
Tyler Wilding
663453769c
Final polish on the integer tests, time to start converting the rest
2020-10-03 18:32:01 -04:00
Tyler Wilding
282e53f1be
Concept is working, just needs some polish and can start translating the tests
2020-09-26 18:48:40 -04:00
water111
c9b53d51ff
Compiler Cleanup (Part 2) ( #56 )
...
* check on windows
* fix windows build
* version test
* clean up - will it work on windows
* fix formatting
2020-09-25 21:11:27 -04:00
water111
abcd444a3b
Add deftype ( #48 )
...
* initial deftype implementation
* fix library setup for windows
* implement deftype
* fix memory bug
* fix formatting
2020-09-17 21:47:52 -04:00
water111
de5aa7e5e4
Move duplicated utilities to the common util folder and remove NEXT_DIR
( #29 )
...
* move things to the common library and remove next_dir
* fix for windows
* one last windows fix
* last fix for real this time
* debug listener test
* fix listener threading bug
2020-09-10 20:03:31 -04:00
blahpy
89e8ec40ed
Merge branch 'master' into master
2020-09-11 09:18:12 +12:00
blahpy
9f1d6792e2
Fix errors in common_util
2020-09-09 18:41:45 +12:00
blahpy
eb886d0c45
Upload new files
2020-09-09 16:54:16 +12:00
water
d52ec34a22
Merge branch 'master' of https://github.com/water111/jak-project into w/ir
2020-09-08 21:05:22 -04:00
water111
e756e3559c
Merge pull request #15 from xTVaser/ci/codecov
...
Add Coveralls.io
2020-09-08 21:04:30 -04:00
water
f0328dcc92
Merge branch 'master' of https://github.com/water111/jak-project into w/ir
2020-09-08 19:39:39 -04:00
water
c9e99b8ebe
add a separate cmake configuration for code coverage builds
2020-09-08 19:15:38 -04:00
Tyler Wilding
570d64c6a3
Add coverage badge
2020-09-08 16:08:52 -04:00
Tyler Wilding
8f1ddca825
Add Coveralls.io
2020-09-08 15:47:25 -04:00
Tyler Wilding
84e0bee6f4
Use shim in Listener/Deci2Server
2020-09-07 19:59:44 -04:00
water
d49b01e310
working return integer tests as part of gtest
2020-09-06 16:58:25 -04:00