Ryan Houdek
d9d0e285c9
Merge pull request #1560 from magcius/pad-cleanup-1
...
Pad cleanup 1
2014-12-07 01:22:03 -06:00
Ryan Houdek
4e98078daf
Merge pull request #1658 from lioncash/locale
...
Common: Remove locale based functions from CommonFuncs.
2014-12-07 01:12:00 -06:00
Ryan Houdek
9897f7675e
Merge pull request #1611 from waddlesplash/dolphin-qt
...
DolphinQt: various cleanup & fixes.
2014-12-07 01:11:17 -06:00
Ryan Houdek
6d6b425061
Merge pull request #1647 from magumagu/mmu-flag-cleanup
...
Cleanup: remove unnecessary uses of the bMMU flag
2014-12-07 01:08:30 -06:00
Ryan Houdek
dec2f9f89b
Merge pull request #1596 from Tilka/wiimote
...
WiimoteReal: use inheritance instead of #ifdef
2014-12-07 01:03:08 -06:00
Ryan Houdek
a48abd7bd2
Merge pull request #1662 from lioncash/tas
...
TASInputDlg: General cleanup.
2014-12-07 00:58:58 -06:00
Ryan Houdek
b9c6ee93b6
Merge pull request #1661 from FioraAeterna/fixloadstorebind
...
JIT: fix possible panicalert in loadstore
2014-12-07 00:54:59 -06:00
Ryan Houdek
0e1d98a43f
Merge pull request #1663 from Buddybenj/Fix-Warning
...
Remove RunningGamecube (unused variable)
2014-12-07 00:08:07 -06:00
Ryan Houdek
d58bba2160
Idle loop in GPU loop on dual core systems.
...
Previously we had decided to busy loop on systems due to Windows' scheduler being terrible and moving us around CPU cores when we yielded.
Along with context switching being a hot spot.
We had decided to busy loop in these situations instead, which allows us greater CPU performance on the video thread.
This can be attributed to multiple things, CPU not downclocking while busy looping, context switches happening less often, yielding taking more time
than a busy loop, etc.
One thing we had considered when moving over to a busy loop is the issues that dual core systems would now face due to Dolphin eating all of their CPU
resources. Effectively we are starving a dual core system of any time to do anything else due to the CPU thread always being pinned at 100% and then
the GPU thread also always at 100% just spinning around. We noted the potential for a performance regression, but dismissed it as most computers are
now becoming quad core or higher.
This change in particular has performance advantages on the dual core Nvidia Denver due to its architecture being nonstandard. If both CPU cores are
maxed out, the CPU can't effectively take any idle time to recompile host code blocks to its native VLIW architecture.
It can still do so, but it does less frequently which results in performance issues in Dolphin due to most code just running through the in-order
instruction decoder instead of the native VLIW architecture.
In one particular example, yielding moves the performance from 35-40FPS to 50-55FPS. So it is far more noticeable on Denver than any other system.
Of course once a triple or quad core Denver system comes out this will no longer be an issue on this architecture since it'll have a free core to do
all of this work.
2014-12-07 05:36:44 +00:00
Ryan Houdek
f9cda79f3a
Merge pull request #1659 from rohit-n/ow-the-edge
...
Fix -Wshadow warning.
2014-12-06 23:34:34 -06:00
Ryan Houdek
40f2333145
Merge pull request #1660 from Tilka/avx_bitwise
...
Fix opcodes of AVX bitwise instructions
2014-12-06 21:58:35 -06:00
Lioncash
e5e8f49425
TASInputDlg: Eliminate the usage of some spacers.
...
Bordering parameters can be specified on addition.
2014-12-06 20:13:30 -05:00
Fiora
68972da1e5
JIT: fix possible panicalert in loadstore
...
Didn't bind address register tcorrectly in a very rare case.
2014-12-06 16:09:13 -08:00
Lioncash
694247d3fe
TASInputDlg: Fix a typo in layout alignment flags
2014-12-06 17:09:05 -05:00
Lioncash
d09130e3d2
TASInputDlg: Replace some for loops with range-based for loops.
2014-12-06 16:54:42 -05:00
Lioncash
12eb2caa65
TASInputDlg: Remove unnecessary wxWidgets default values.
2014-12-06 16:40:53 -05:00
Tillmann Karras
791d5458e5
UnitTests: add tests for bitwise AVX instructions
2014-12-06 22:28:03 +01:00
Tillmann Karras
ddebdb61c4
UnitTests: fix register symbol name in AVX tests
2014-12-06 22:28:03 +01:00
Tillmann Karras
986d19b9d5
x64Emitter: fix bitwise AVX opcodes
...
The reason this didn't break is that bitwise instructions like VPAND,
VANDPS, and VANDPD do the exact same thing. The only difference is the
data type they are intended for.
2014-12-06 22:28:03 +01:00
Fiora
3d12849967
JIT: fix snan/qnan handling in float loads/stores
...
Also simplify the conversion code with some suggestions by flacs; might even
be slightly faster now despite handling more cases.
2014-12-06 13:07:24 -08:00
Benjamin Przybocki
9d0606d2c1
Remove RunningGamecube
...
It's not being used and gives a warning on Unix/Unix-like machines.
2014-12-06 12:50:24 -06:00
Rodolfo Bogado
c2de38c115
use SAFE_RELEASE to make code cleaner
2014-12-06 10:46:15 -03:00
Rodolfo Bogado
817d025328
small spacing fixes
2014-12-05 23:54:34 -03:00
Rohit Nirmal
fa501e9d8d
Fix -Wshadow warning.
2014-12-05 20:33:24 -06:00
Lioncash
9bcadc8029
Common: Remove locale based functions from CommonFuncs.
...
Since %f isn't used anymore in the shader generators, these can go.
2014-12-05 20:55:29 -05:00
skidau
f7a16eca84
Merge pull request #1437 from skidau/Remove-DSP-thread-option
...
Removed the DSP LLE on separate thread option.
2014-12-06 10:54:53 +11:00
skidau
757077e6fb
Merge pull request #1654 from skidau/Fix-TLB-Cache
...
TLB cache fixes
2014-12-06 10:41:21 +11:00
skidau
d485acdb51
Stored a copy of the PTE in the TLB like the real hardware does.
...
Updated PTE.R bit on Write and Instruction fetch.
Added code to read the PTE from MEM2 if the PTE is stored there.
Refactored the two hash functions to reduce code duplication.
Updated save state version.
2014-12-06 10:28:34 +11:00
Rodolfo Bogado
c7bb8fba9e
Added support test for bbox and some naming corrections
2014-12-05 18:51:23 -03:00
Rodolfo Bogado
93b4540e19
Add HW bounding Box support to d3d backend
2014-12-05 15:03:24 -03:00
Markus Wick
f00ad2e65c
Merge pull request #1656 from kayru/orthographic_projection_epsilon
...
Moved projection epsilon back to g_fProjectionMatrix[15]
2014-12-05 17:34:50 +01:00
skidau
997681b65a
Removed the tag check in InvalidateTLBEntry. All four TLB entries are always cleared on each invalidate command.
...
Initialised the TLB cache to start from a consistent state on reset.
2014-12-05 19:56:45 +11:00
Yuriy O'Donnell
7ba417b73d
Moved projection epsilon back to g_fProjectionMatrix[15], which essentially scales vertices instead of just biasing.
2014-12-05 09:41:41 +01:00
skidau
693f413364
Updated C bit on TLB cache hits.
...
Added TLB state to the save state file.
2014-12-05 14:29:13 +11:00
Lioncash
c617b6c722
Merge pull request #1652 from lioncash/delete
...
DiscIO: Remove some explicit deletes
2014-12-04 19:51:21 -05:00
Ryan Houdek
a381d25d76
Merge pull request #1651 from Armada651/resolve-layer
...
FramebufferManager: Bind only the first framebuffer layer when the EFB only has one layer.
2014-12-04 17:52:22 -06:00
Jules Blok
42bb48bd46
FramebufferManager: Bind only the first framebuffer layer when the EFB only has one layer.
2014-12-05 00:36:10 +01:00
Tillmann Karras
8d9a30b370
WiimoteReal: use inheritance instead of #ifdef
2014-12-05 00:16:41 +01:00
Lioncash
f14f0caea6
DiscIO: Remove some explicit deletes
2014-12-04 11:39:20 -05:00
Tillmann Karras
94197b604e
WiimoteReal: inline unnecessary function
2014-12-04 17:09:12 +01:00
Tillmann Karras
d087cb95cd
WiimoteReal: shuffle code around
2014-12-04 17:09:12 +01:00
Tillmann Karras
a1e974fedf
WiimoteReal: add m_ prefix to member variables
2014-12-04 17:09:12 +01:00
Markus Wick
02dae1d1ba
VideoCommon: fix include order
2014-12-04 15:15:16 +01:00
Lioncash
6d5e9cb5b1
Merge pull request #1649 from rohit-n/build-pch
...
Fix building with PCH disabled.
2014-12-03 23:01:44 -05:00
Rohit Nirmal
e7ddaf86f5
Fix building with PCH disabled.
2014-12-03 22:01:12 -06:00
skidau
7bc78827ed
Merge pull request #1574 from degasus/profiler
...
Common: Add a built-in profiler
2014-12-04 13:22:31 +11:00
Lioncash
4c09f3ab05
Merge pull request #1637 from lioncash/dim
...
FrameTools: Fix dimming of controller settings menu item
2014-12-03 21:20:58 -05:00
skidau
b1b7ae9f6a
Merge pull request #1644 from FioraAeterna/fixtlb
...
TLB: fix backwards exception check
2014-12-04 13:19:03 +11:00
skidau
4a424e93a4
Merge pull request #1622 from FioraAeterna/texmtxfloat4
...
Vertex loader: optimize texmtx_write_float4
2014-12-04 13:10:22 +11:00
Lioncash
a2d0b80ae0
Merge pull request #1648 from rohit-n/build-pch
...
Fix building with PCH disabled.
2014-12-03 21:02:41 -05:00