Commit graph

545 commits

Author SHA1 Message Date
LDj3SNuD
1081d43cfd Add TRN1 & TRN2 (vector) instructions. Add 4 simple tests (4S, 8B). (#77)
* Update AOpCodeTable.cs

* Update AInstEmitSimdMove.cs

* Update CpuTestSimdMove.cs

* Update AInstEmitSimdMove.cs

* Update CpuTestSimdMove.cs
2024-02-22 19:13:31 -05:00
gdkchan
3979660fde [CPU] Speed up translation a little bit 2024-02-22 19:13:31 -05:00
gdkchan
306cd19186 [HLE/Service] Fix ToCalendarTimeWithMyRule (for real this time) 2024-02-22 19:13:31 -05:00
gdkchan
7ab535c8d6 [HLE/Service] Fix ToCalendarTimeWithMyRule 2024-02-22 19:13:31 -05:00
gdkchan
70871a5c71 [CPU] Fix CNT instruction 2024-02-22 19:13:31 -05:00
gdkchan
c4f735a405 [GPU] Add support for the BC4/5 texture formats 2024-02-22 19:13:31 -05:00
gdkchan
9a5ae01757 Fix regression -- enable raw frame buffer rendering 2024-02-22 19:13:31 -05:00
gdkchan
03ca51e5cf [GPU] Add more shader instructions, add support for rgb565 textures 2024-02-22 19:13:31 -05:00
LDj3SNuD
1d957cc053 Add A1B5G5R5 texture format. (#76)
* Update GalTextureFormat.cs

* Update TextureReader.cs
2024-02-22 19:13:31 -05:00
gdkchan
9dd5796166 Remove line numbers from log 2024-02-22 19:13:31 -05:00
emmauss
1fba150449 log calling method in logs (#71) 2024-02-22 19:13:31 -05:00
gdkchan
61a8a68bfd Use correct pitch value when decoding linear swizzle textures 2024-02-22 19:13:31 -05:00
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