Commit graph

355 commits

Author SHA1 Message Date
water 4b90634e93 fix ash showing up as sc 2020-10-04 10:44:28 -04:00
water e195e2b299 started sc recognize, but ash min and max should be recognized first 2020-10-03 21:30:58 -04:00
water 5bcd10b5b0 finally all conds are passing 2020-10-03 20:36:21 -04:00
water 0fbffcd409 add cond to compare conversion 2020-10-03 18:36:02 -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
water b7cee7b666 add type of recognition 2020-10-03 15:27:17 -04:00
water 649a8879e5 Merge branch 'master' of https://github.com/water111/jak-project into w/cfg_2_ir 2020-10-03 10:42:52 -04:00
water111 d03080c463
Build spdlog as a shared library (#59)
* change build settings for spdlog

* fix typo

* trying with j4 now

* try as a shared library

* add shadow warning back
2020-10-03 10:33:20 -04:00
doctashay c2cb053a5d
spdlog implementation (#58)
* Commit new spdlog implementation 

Hopefully resolves Linux build dependency errors

* clang formatting

* Fix Linux-only definition

Found the culprit!

* More Linux fixes

Linus Torvalds have mercy on my soul

* Replace printf logging with spdlog equivalent

Preserve previous printfs in comments for now. Spdlog needs to be configured to be thread-safe. Few additional printfs to convert later. No changes have been made to GOAL's internal printing system

* clang-format stuff

* ugh more clang-format

why

* Another shot

* CMakeLists.txt update

Fix issues related to spdlog version targeting

* Remove old prints + fix log types

Up next is the transition to a git submodule, should be simple enough

* spdlog is now a git submodule

* adapted for project

* Linux fix

* More fixes

Yikes

* Update for linux

I should really fix my WSL environment

* Update workflow.yaml

Hopefully will resolve issues with GitHub Actions on Linux
2020-10-03 09:39:04 -04:00
water 0094594f69 add cond with else 2020-10-03 09:32:26 -04:00
doctashay b4b0ee3c4a Update workflow.yaml
Hopefully will resolve issues with GitHub Actions on Linux
2020-10-02 22:32:09 -06:00
water 072283e442 add some more cfg ir stuff 2020-10-02 16:21:25 -04:00
doctashay ec64e06e9e Update for linux
I should really fix my WSL environment
2020-10-02 14:12:41 -06:00
doctashay 7ad253dad1 More fixes
Yikes
2020-10-02 14:08:50 -06:00
doctashay 3ca050f5bf Linux fix 2020-10-02 14:05:00 -06:00
doctashay 5095197b3b adapted for project 2020-10-02 14:02:05 -06:00
doctashay a68e5cdc51 spdlog is now a git submodule 2020-10-02 13:47:06 -06:00
Shay 59eedf6518 Remove old prints + fix log types
Up next is the transition to a git submodule, should be simple enough
2020-10-02 12:36:22 -06:00
Shay 27ba6022bd CMakeLists.txt update
Fix issues related to spdlog version targeting
2020-10-01 17:24:50 -06:00
Shay f1620b43d3 Another shot 2020-10-01 16:53:30 -06:00
Shay 6484c201d1 ugh more clang-format
why
2020-10-01 16:17:43 -06:00
Shay 24415f5ccd clang-format stuff 2020-10-01 16:09:19 -06:00
Shay e2ea57ea58 Replace printf logging with spdlog equivalent
Preserve previous printfs in comments for now. Spdlog needs to be configured to be thread-safe. Few additional printfs to convert later. No changes have been made to GOAL's internal printing system
2020-10-01 16:08:23 -06:00
Shay 4d208b0729 More Linux fixes
Linus Torvalds have mercy on my soul
2020-10-01 10:37:35 -06:00
Shay a69af3dd10 Fix Linux-only definition
Found the culprit!
2020-10-01 10:33:08 -06:00
Shay 05ef26fb98 clang formatting 2020-10-01 10:27:58 -06:00
Shay 849d7924c2 Commit new spdlog implementation
Hopefully resolves Linux build dependency errors
2020-10-01 10:27:07 -06:00
Shay 854f5ec31b Merge remote-tracking branch 'upstream/master' into logging 2020-10-01 09:58:41 -06:00
water111 376c273845
Add decompiler IR, basic operations, all-types file (#57)
* framework for basic op

* started IR framework

* check in type info file

* add some basic operations to the first pass ir conversion

* use a single condition system

* add more basic op decoding

* more ir
2020-09-29 20:24:15 -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 15051ec5dd
Fix high cpu usage from iop thread (#55)
* fix crazy cpu usage from iop thread

* clang-format
2020-09-24 22:15:01 -04:00
water111 2d11e44eaf
Compiler Cleanup and Documentation (#54)
* start cleanup

* fix typos

* fix syntax highlighting in doc

* lots of documentation updates

* clean and add tests

* more documentation and more error messages

* more document and try building kernel differently
2020-09-24 17:19:23 -04:00
water111 27b865c0df
Add methods and pointers (#53)
* method calls and sorting

* add more tests and fix some alias stuff
2020-09-19 16:50:42 -04:00
water111 cee6c21603
Add basic features for types and objects (#52)
* started adding simple functions in gcommon

* more tests and features

* more tests, debug windows

* debug prints for windows

* back up some regs for windows

* remove debugging prints
2020-09-19 13:22:14 -04:00
Shay b03c4f1513 Merge remote-tracking branch 'upstream/master' 2020-09-18 20:44:01 -06:00
water111 c7c342ce7e
Add defmethod and some uses of the deref operator (#51)
* add tests for various xmms

* use unaligned stores and loads to back up and restore xmm128s and also fix argument spilling bug

* add deftype

* add deref and fix some method _type_ things
2020-09-18 22:02: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 8d322dd7fc
Merge pull request #47 from water111/w/win-format
Add format order test and fix reg order for windows
2020-09-15 19:01:50 -04:00
water 3f193013b9 fix bug 2020-09-15 18:57:18 -04:00
water ca3acdb5ec add format order test and fix reg order for windows 2020-09-15 18:49:55 -04:00
water111 bb854dd81e
Fix a Listener Bug (#45)
* try a fix

* add debug prints

* more prints

* try again

* more stderr

* print again

* am idiot

* cleanup

* cleanup
2020-09-14 22:14:07 -04:00
water111 8972d37167
Merge pull request #44 from water111/w/math_5
Add More Math!
2020-09-14 20:42:43 -04:00
water aadc274a89 Remove bad format test 2020-09-14 20:35:31 -04:00
water 8308bfb451 Merge branch 'master' of https://github.com/water111/jak-project into w/math_5 2020-09-14 20:31:46 -04:00
water111 7ffcfc4703
Merge pull request #41 from xTVaser/pragma-once
Add #pragma once to all header files
2020-09-14 20:31:41 -04:00
water b1b58230ee Merge branch 'master' of https://github.com/water111/jak-project into w/math_5 2020-09-14 20:31:19 -04:00
water111 0d0541d1c9
Merge pull request #40 from xTVaser/windows/compiler-warnings
Resolve a good chunk of windows compiler warnings
2020-09-14 20:31:10 -04:00
water a47620fd6d add more math 2020-09-14 20:24:05 -04:00
water111 28275e3d51
Merge pull request #42 from xTVaser/remove-perf-stats
Remove SystemThread performance stats
2020-09-14 17:03:01 -04:00