Commit graph

2533 commits

Author SHA1 Message Date
gdkchan
c6eca2bdc8 Merge shader branch, adding support for GLSL decompilation, a macro
interpreter, and a rewrite of the GPU code.
2024-02-22 19:13:30 -05:00
LDj3SNuD
7553164105 Add FMUL (scalar, by element) instruction; add FRECPE, FRECPS (scalar & vector) instructions. Add 5 simple tests. (#74)
* Update AOpCodeTable.cs

* Update AInstEmitSimdArithmetic.cs

* Update AInstEmitSimdHelper.cs

* Update CpuTestSimdArithmetic.cs

* Update AOpCodeTable.cs

* Update AInstEmitSimdArithmetic.cs
2024-02-22 19:13:30 -05:00
gdkchan
93d494baab [CPU] Fix CBZ/CBNZ with 32 bits operands 2024-02-22 19:13:30 -05:00
gdkchan
fb2c73e30a [CPU] Fail early when the index/size of the vector is invalid 2024-02-22 19:13:30 -05:00
gdkchan
5565c49502 Bump the maximum number of threads 2024-02-22 19:13:30 -05:00
gdkchan
178d133586 Fix FRSQRTS and FCM* (scalar) instructions 2024-02-22 19:13:30 -05:00
gdkchan
55d5b3cd34 Show service short name for unimplemented commands 2024-02-22 19:13:30 -05:00
gdkchan
d3d0916b46 Support the .romfs extension aswell 2024-02-22 19:13:30 -05:00
gdkchan
e84111d338 Add FMLS (vector) instruction 2024-02-22 19:13:30 -05:00
gdkchan
c600200d05 Fix typo 2024-02-22 19:13:30 -05:00
gdkchan
ff2d0ff2b6 Fix possible regression on bsd 2024-02-22 19:13:30 -05:00
gdkchan
3ef47c3563 Rename services with the official interface names 2024-02-22 19:13:30 -05:00
gdkchan
682c72e00b Add FRSQRTS and FCM* instructions 2024-02-22 19:13:30 -05:00
Merry
3f36ff10d5 Implement Frsqrte_S (#72)
* Implement Frsqrte_S

* Implement Frsqrte_V

* Add Frsqrte_S test
2024-02-22 19:13:30 -05:00
gdkchan
a505f2843e Color* should be an array in NvGpuIoctlZbcSetTable 2024-02-22 19:13:30 -05:00
Starlet
f1781aced3 [ServiceNvDrv] Add 0x4703 ([/dev/nvhost-ctrl-gpu] NvGpuIoctlZbcSetTable) (#70)
[ServiceNvDrv] Add 0x4703 ([/dev/nvhost-ctrl-gpu] NvGpuIoctlZbcSetTable)
2024-02-22 19:13:30 -05:00
Ac_K
d9e8f5c182 Update README.md 2024-02-22 19:13:30 -05:00
gdkchan
35cb901df8 Add Faddp (vector) instruction 2024-02-22 19:13:30 -05:00
gdkchan
10bbafd846 Fix GetAvailableLanguageCodes, stub ListAddOnContent and NvGpuAsIoctlRemap (0x4114) 2024-02-22 19:13:30 -05:00
gdkchan
a7d5772834 Stub ActivateKeyboard on Hid 2024-02-22 19:13:29 -05:00
gdkchan
9e36fe4e9e Stub ActivateMouse on Hid 2024-02-22 19:13:29 -05:00
gdkchan
dd6ad2c0d9 Remove useless spacing 2024-02-22 19:13:29 -05:00
emmauss
bb089290d8 stubs (#69) 2024-02-22 19:13:29 -05:00
gdkchan
449c26c7ff HashSet is not thread safe, hopefully this fixes the CPU issue where it throws a exception on Add 2024-02-22 19:13:29 -05:00
gdkchan
e673cd9dc5 Add PRFM (unscaled) instruction 2024-02-22 19:13:29 -05:00
gdkchan
cb70cde2d0 Add FNEG (vector) instruction 2024-02-22 19:13:29 -05:00
gdkchan
6cc5db4dfb Fix SvcGetThreadId 2024-02-22 19:13:29 -05:00
gdkchan
eb93676db2 Fix 32-bits extended register instructions with 64-bits extensions 2024-02-22 19:13:29 -05:00
gdkchan
13ed91bb52 Enable all ld/st (single structure) instructions 2024-02-22 19:13:29 -05:00
gdkchan
4973dafa51 Fix EXT/Widening instruction carrying garbage values on some cases, fix ABD (it shouldn't accumulate, this is another variation of the instruction) 2024-02-22 19:13:29 -05:00
gdkchan
83e9008396 Add BIT instruction 2024-02-22 19:13:29 -05:00
gdkchan
6a0593d6e1 Add UABD instruction 2024-02-22 19:13:29 -05:00
gdkchan
b82513674a Add UABDL instruction 2024-02-22 19:13:29 -05:00
gdkchan
c17e4cc21d Add UADDL instruction 2024-02-22 19:13:29 -05:00
gdkchan
429ab817af Add UHADD instruction 2024-02-22 19:13:29 -05:00
Ezekiel Bethel
e0f4d6d8e8 SVC: Add GetInfo type 20 (added in 5.0.0) to the list of explicitly unimplemented types. (#68) 2024-02-22 19:13:29 -05:00
gdkchan
d1f8234700 Add FNMADD instruction 2024-02-22 19:13:29 -05:00
LDj3SNuD
2511ce3440 Add Cls Instruction. (#67)
* Update AInstEmitAlu.cs

* Update ASoftFallback.cs

* Update AOpCodeTable.cs
2024-02-22 19:13:29 -05:00
emmauss
35692c63cc implement isession:getperformanceconfiguration (#64) 2024-02-22 19:13:29 -05:00
emmauss
43db3799fa handle vi:u and vi:s getdisplayservice (#66) 2024-02-22 19:13:29 -05:00
emmauss
9248fbfac4 added set: getavailablelanguagecount (#65) 2024-02-22 19:13:29 -05:00
MS-DOS1999
e387e19a4c Add Frint Instructions and Tests (#62)
* add 'ADC 32bit and Overflow' test

* Add WZR/WSP tests

* fix ADC and ADDS

* add ADCS test

* add SBCS test

* indent my code and delete comment

* '/' <- i hate you x)

* remove spacebar char

* remove false tab

* add frintx_S test

* update frintx_S test

* add ASRV test

* fix new line

* fix PR

* fix indent

* Add add_V tests

* work on Frintx_V

* Add Frintx_V Instruction

* add some instruction and test

* Syntax + indent

* Delete Console Write

* Delete Console Write 2

* CR del

* Skip NaNs tests

* Skip NaNs tests 2

* Fix errors 1

* Fix errors 2
2024-02-22 19:13:29 -05:00
emmauss
23b099ae7b rename some services (#63) 2024-02-22 19:13:29 -05:00
emmauss
206a6902fd rename some calls to current names (#61) 2024-02-22 19:13:28 -05:00
gdkchan
53a9e00bee Allow enabling/disabling memory checks on config file 2024-02-22 19:13:28 -05:00
gdkchan
68a688e80c Rename IpcServices -> Services 2024-02-22 19:13:28 -05:00
gdkchan
7f2a74769d Support different framebuffer offsets (fixes #59) 2024-02-22 19:13:28 -05:00
gdkchan
9e100b881c [WIP] Add support for events (#60)
* Add support for events, move concept of domains to IpcService

* Support waiting for KThread, remove some test code, other tweaks

* Use move handle on NIFM since I can't test that now, it's better to leave it how it was
2024-02-22 19:13:27 -05:00
gdkchan
f4fdcc20d8 Add BFI instruction, even more audout fixes 2024-02-22 19:13:27 -05:00
gdkchan
96b74de746 Add MLA (vector by element), fixes some cases of MUL (vector by element)? 2024-02-22 19:13:27 -05:00