shenweip
13f979af8c
Revert "Change state to ready when umdActivated is false."
...
This reverts commit 1c133ff5fe
.
2013-11-26 18:23:08 +01:00
shenweip
3855773203
Change state to ready when umdActivated is false.
2013-11-26 18:20:33 +01:00
shenweip
a611ed3930
Remount all references in Remount func.
2013-11-26 18:20:33 +01:00
shenweip
5ef34e37b4
DoState.
2013-11-26 18:20:33 +01:00
shenweip
7832cebacd
CleanUp.
2013-11-26 18:20:33 +01:00
shenweip
4c6005545b
Bugfix.
2013-11-26 18:20:33 +01:00
shenweip
f6f81eca93
Add comments.
2013-11-26 18:20:33 +01:00
shenweip
9814b1d6d2
Add support for multiple disc.
2013-11-26 18:20:33 +01:00
Henrik Rydgård
326287a52e
Merge pull request #4643 from shenweip/patch-9
...
minor fix:Avoid a dangerous zero.
2013-11-26 09:12:04 -08:00
Sacha
d6cb23e77d
Buildfix for gcc (GNU) and Qt.
2013-11-27 03:02:29 +10:00
shenweip
dfad2ba845
Avoid a dangerous zero.
2013-11-26 23:45:45 +08:00
Henrik Rydgard
c53b32d154
Show a dismissable notification if PPSSPP is behind the latest official release
2013-11-26 14:04:29 +01:00
Kingcom
274632f304
Minor disassembly tweaks
2013-11-26 11:38:01 +01:00
Henrik Rydgard
7410f6fd44
Add run counter, which will be used for periodic stuff like checking for new version
2013-11-26 10:24:31 +01:00
Sacha
95881bdaac
Blackberry: Add simulator support.
2013-11-26 12:18:34 +10:00
Kingcom
3d4bb3f20b
Remove obsolete functions
2013-11-26 00:51:04 +01:00
Kingcom
00a801f6a3
Don't overwrite label name if it already exists, get label value
2013-11-26 00:43:31 +01:00
Kingcom
7c585485bb
Save labels separately from symbols
2013-11-26 00:23:17 +01:00
Henrik Rydgård
41343ac538
Merge pull request #4636 from Kingcom/Debugger
...
Disassembler overhaul
2013-11-25 14:00:16 -08:00
Kingcom
b71bfe5a62
-Get branch lines for opcodes outside of a function
...
-fix labels causing analyzing issues
2013-11-25 21:53:01 +01:00
Kingcom
8146e7bfb0
Fix stepping
2013-11-25 19:51:16 +01:00
Kingcom
ea38eb4318
Correctly rescan visible data
2013-11-25 17:31:39 +01:00
Kingcom
945dc48ea7
Don't recompute number of lines of a function every time
2013-11-25 16:52:42 +01:00
Kingcom
9a29e8b0bf
More efficient "loose" opcode detection, clear entries when symbols were loaded
2013-11-25 16:18:29 +01:00
Kingcom
60987d9217
Minor optimization
2013-11-25 14:19:45 +01:00
Kingcom
42c5fe0164
Massive speed optimizations
2013-11-25 13:56:43 +01:00
Unknown W. Brackets
5ff589a0d9
Minor logging improvements in sceAudio.
2013-11-25 01:02:59 -08:00
Sacha
12bfcd0599
Qt: Some platforms don't like letters in version number.
2013-11-25 14:17:50 +10:00
Kyhel
a4135dadbc
Added MAC address from config
2013-11-25 04:46:03 +01:00
Kyhel
a627f2656a
Tested build on windows x64
2013-11-25 03:16:17 +01:00
Kyhel
3e4e0fc203
Removed useless printf, and also, last commit i added a Config for
...
MacAddress, but i didn’t yet find a way to use it properly.
2013-11-25 03:03:34 +01:00
Kyhel
0f7f90d0ac
Added windows changes for a unified build. Added Dialog fix which
...
prevented from saving after going online. Added windows « errno » use
redefinition to suit WSAGetLastError and protocl needs.
2013-11-25 02:57:08 +01:00
Sacha
f6cc234393
Qt: Detect version in qmake instead.
2013-11-25 03:25:11 +10:00
Henrik Rydgard
e5e23f3ce1
ARM: Fix vsgn. Some vertex decoder tweaks.
2013-11-24 18:21:47 +01:00
Henrik Rydgard
030e6460cc
ARM: NEON-optimize software skinning
2013-11-24 18:03:42 +01:00
Kingcom
aab6f588f1
Fix branch lines
2013-11-24 14:46:53 +01:00
Kingcom
0672458a33
Fix follow branch, display symbols
2013-11-24 13:53:50 +01:00
Kingcom
63e2f34beb
Correctly identify the start of a line when changing the address
2013-11-24 13:53:50 +01:00
Kingcom
a928c62ad1
Basic implementation and integration of DisassemblyManager
2013-11-24 13:53:50 +01:00
Henrik Rydgard
f650b23c90
ARM: Add NEON widening and narrowing moves, and float/int convert.
...
Experiment a little in the vertex decoder.
2013-11-24 13:30:28 +01:00
Sacha
0dadd84ef7
Symbian: Enable multi-threading (works now).
2013-11-24 20:22:35 +10:00
Sacha
f02e88b87e
Buildfix.
2013-11-24 03:11:33 +10:00
Henrik Rydgård
7e736172db
Merge pull request #4576 from shenweip/patch-7
...
Ignore the difference between "\" and "/" in "recent" and "remove from recent".
2013-11-23 07:45:39 -08:00
Henrik Rydgard
db016f7001
ARMJIT: Disable vsgn, reported to break Miami Vice
2013-11-23 13:00:35 +01:00
Henrik Rydgard
ab6bdfa84d
Workaround for a weird I/O issue
2013-11-23 12:49:32 +01:00
Peter Tissen
746a88c23d
enable SDL Joystick support to Qt
...
Cmake file update add new SDL joystick files
2013-11-22 02:37:52 +01:00
Sacha
cd6de7922c
Change to default of 2x IR for large screens. Including mobiles as there is no noticeable trade-off on modern devices.
2013-11-21 16:29:56 +10:00
Henrik Rydgard
1a6b4ceafb
Compensate frame delay for the PSP refreshing at 59.94 Hz
2013-11-20 23:53:28 +01:00
Henrik Rydgård
b38e60672c
Debug level reduction
2013-11-20 14:55:35 +01:00
Henrik Rydgård
800805e2b5
Merge pull request #4590 from unknownbrackets/savestates
...
Ignore the current button state in savestates.
2013-11-20 01:00:06 -08:00
Henrik Rydgård
f180b9e341
Merge pull request #4588 from unknownbrackets/io-minor
...
Delay, don't eat, inside the fat ms check.
2013-11-20 00:57:39 -08:00
Sacha
effca1e4c7
Improvements to timer hack.
2013-11-20 12:55:56 +10:00
Unknown W. Brackets
7cff309cf7
Ignore the current button state in savestates.
...
Fixes #4149 .
2013-11-19 18:33:17 -08:00
Unknown W. Brackets
3c006339a9
Delay, don't eat, inside the fat ms check.
...
Fixes #2118 (Star Ocean video stutter.)
2013-11-19 17:48:13 -08:00
Henrik Rydgård
21bafd5d18
Merge pull request #4581 from unknownbrackets/armjit-divu
...
armjit: Fix divu when divisor is a constant 1
2013-11-19 13:28:41 -08:00
Henrik Rydgård
41fd68be68
Merge pull request #4577 from unknownbrackets/vblank-interval
...
Switch to 59.94 fps rather than 60, since we say we are 59.94
2013-11-19 13:24:38 -08:00
Unknown W. Brackets
c50ab6d6aa
armjit: Fix divu when divisor is a constant 1.
...
Fixes #4539 and #4520 .
2013-11-19 13:24:15 -08:00
Henrik Rydgard
bd3a03ad1d
Quick buildfix. Last commit was meant to go on a WIP branch but meh :)
2013-11-19 21:44:18 +01:00
Henrik Rydgard
ab3037112f
Some scaffolding for a future VFPU-on-NEON implementation
2013-11-19 21:41:48 +01:00
Henrik Rydgard
99af10cb09
Get rid of bool disablePrefixes in ARM build (already gone in x86)
2013-11-19 21:41:48 +01:00
Henrik Rydgard
dca457e6df
Optimize multiple sv.s and lv.s calls on ARM. Also some cleanup.
2013-11-19 21:41:47 +01:00
Henrik Rydgard
5bb3824dcf
Implement vocp on ARM and x86.
2013-11-19 21:41:47 +01:00
Sacha
a41e3d3432
Qt: Remove controls. Undefine emit so that it is easier to use Qt headers in native files.
2013-11-20 01:25:59 +10:00
shenweip
7bd0e0de78
Only do this for windows.
2013-11-19 20:46:33 +08:00
Unknown W. Brackets
425ea8b846
Track hcount as an integer, not a double.
...
Since it's even with NTSC. Makes much more sense.
2013-11-18 08:12:49 -08:00
Unknown W. Brackets
2b74f7f812
Switch to 59.94 fps rather than 60.
2013-11-18 08:06:09 -08:00
shenweip
09636da4ba
Ignore the difference between "\" and "/" in "recent" and "remove from recent".
2013-11-18 23:42:38 +08:00
Henrik Rydgård
428b27903b
Merge pull request #4556 from unknownbrackets/ctrl-timing
...
Adjust ctrl timing (sample and wake after vblank)
2013-11-18 05:06:58 -08:00
Unknown W. Brackets
6ebad9e06f
Include all released buttons in the latch.
...
Not just newly released ones. This does appear to be how the PSP fills
this buffer - it's normally 0xffffffff.
2013-11-17 19:32:21 -08:00
Unknown W. Brackets
d7d0242225
Minor simplification to ctrl buffer updates.
2013-11-17 19:32:20 -08:00
Unknown W. Brackets
39cd7f812a
Move ctrl to after vblank, not before.
...
Tests I'd done long ago suggested this wasn't right, but we made other
timing fixes since then, and now tests are showing this is the right
order.
May improve Patapon/etc. timing, or may hurt it...
2013-11-17 19:32:20 -08:00
Henrik Rydgard
2c9a1123f0
Fix audio regression: Don't "WalkCurve" on state OFF
2013-11-17 23:13:30 +01:00
Unknown W. Brackets
fa7467f03d
Try to find the flash0 directory in headless.
2013-11-17 10:15:49 -08:00
Henrik Rydgard
b30495c8e8
Reapply the "duration" SasAudio optimization.
2013-11-17 16:49:43 +01:00
Henrik Rydgard
5f51432de7
Revert "More minor SasAudio optimizations"
...
Will reapply later in pieces.
This reverts commit cd251af345
.
2013-11-17 16:46:26 +01:00
Henrik Rydgard
9f5402ce54
Use hardware half-to-float on ARM when available.
2013-11-17 14:17:13 +01:00
Henrik Rydgard
a3caefed18
Buildfix (pgf 64-bit)
2013-11-17 12:55:35 +01:00
Unknown W. Brackets
5f3d7d5c97
Add support for fpu and vfpu regs in expressions.
...
This way you can break based on the value.
2013-11-17 02:15:15 -08:00
Unknown W. Brackets
33d6ee77cb
Add a some more defines for ELF values.
...
Mostly flags and stuff.
2013-11-17 02:14:35 -08:00
Henrik Rydgård
ce11fd7e4b
Merge pull request #4560 from unknownbrackets/font-minor
...
Fix fields in char info and font info, speed up font loading a little
2013-11-17 02:10:27 -08:00
Unknown W. Brackets
0bd7d7ad19
Minor correctness: don't zero extend bpp bits.
2013-11-16 23:39:19 -08:00
Unknown W. Brackets
8f6315e375
Support replacement chars in sceFontGetCharInfo().
2013-11-16 23:32:13 -08:00
Unknown W. Brackets
d955d9b303
Cut down on unnecessary allocs in font loading.
2013-11-16 22:53:05 -08:00
Unknown W. Brackets
769ffbd33b
Read in the shadow flags and give them to the game.
...
Yay, now this struct seems to match the PSP.
2013-11-16 21:08:34 -08:00
Unknown W. Brackets
4505cb4b3a
Match ascender/descender values per character.
...
This makes sense, and matches the ascender/descender for my fonts.
However, it could be wrong for vertical fonts... not sure.
2013-11-16 20:35:50 -08:00
Unknown W. Brackets
bb94f31ec7
Simplify GetGlyph() and getBits() usage a bit.
2013-11-16 20:16:49 -08:00
Unknown W. Brackets
d446659b2a
Improve the performance of getBits().
...
Well, it's not used much, although it's much faster now, heh.
2013-11-16 19:34:45 -08:00
Unknown W. Brackets
e77b8bc5b5
Check for non-indexed glyph advance values.
...
This change from JPCSP:
http://code.google.com/p/jpcsp/source/detail?r=3350
2013-11-16 18:35:15 -08:00
Unknown W. Brackets
2d7741a433
Return # of glyphs, not charmaps, in font info.
...
This makes it match the value from the PSP, and seems logical (the charmap
value is hardly useful, and might lead me to overallocate space for the
glyph bitmaps...)
2013-11-16 18:33:10 -08:00
Unknown W. Brackets
68af1ea6f8
Flip the descender in char info.
...
This makes it close to the value from a PSP (just rounded to 64...)
2013-11-16 18:32:06 -08:00
Kingcom
c44c99a5b7
Ignore changes to r0
2013-11-16 10:59:49 +01:00
Kingcom
a277706489
Workaround for symbols defined in .sym files
2013-11-16 10:53:47 +01:00
Henrik Rydgard
4e0520131a
Tiny optimization
2013-11-15 20:32:23 +01:00
Henrik Rydgard
d17a5fefea
ARM: Fix divide by 0 in software divide used on CPUs without HW divide.
2013-11-15 20:24:20 +01:00
Henrik Rydgard
6be534ca18
Merge branch 'warnings' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-warnings
...
Conflicts:
Core/ELF/ElfReader.cpp
2013-11-15 19:11:51 +01:00
Henrik Rydgard
77ef79892e
Remove wrong alignment check on relocations. Add a comment.
2013-11-15 18:47:27 +01:00
Sacha
20e1bdceeb
Improvements to timer hack.
2013-11-16 02:55:12 +10:00
Unknown W. Brackets
b9feae3b62
Don't require 32-bit relocs to be aligned.
...
Also, report these situations more, who knows what games they could break.
2013-11-15 08:19:29 -08:00
Unknown W. Brackets
f165a15eff
Fix a -unsigned warning.
...
Looks ugly, but (u32)-(s32)val is what we really want here.
Also make a __FUNCTION__ redeclaration warning go away.
2013-11-15 08:18:34 -08:00
Sacha
fb7c3d96fd
Introduce Timer Hack.
...
Has been used in previous Symbian releases to improve speed. Was thought to only work on Wipeout but actually works on most games?
Games that run based on internal timer will experience 60 VPS without frameskip.
2013-11-16 02:16:17 +10:00
Henrik Rydgård
4a89e2e74f
Add "Dump frame GPU commands" to the "in-game" dev menu too.
2013-11-15 16:49:13 +01:00
Henrik Rydgård
40bd1fa650
Add freeze-frame to developer menu. Only useful for developing, like when using nVidia PerfHud.
2013-11-15 13:11:44 +01:00
Henrik Rydgård
cd251af345
More minor SasAudio optimizations
2013-11-15 12:28:16 +01:00
Henrik Rydgård
21006dc6a7
SasAudio: Compute envelope duration on state changes only.
2013-11-15 12:05:10 +01:00
Unknown W. Brackets
5128083d93
Mask out fcr31 bits that can't be set on a PSP.
2013-11-14 23:57:28 -08:00
Unknown W. Brackets
21c9577801
Initialize fcr31 correctly (even though unsup.)
2013-11-14 23:44:49 -08:00
Unknown W. Brackets
3c73d0d1f1
armjit: Read fpu control regs other than 0/31 as 0.
...
Always seem to give zero, regardless of the value of fcr31, etc.
2013-11-14 23:39:39 -08:00
Unknown W. Brackets
763eff181d
Fix handling of jalr when delay slot changes rd.
2013-11-14 23:39:13 -08:00
Unknown W. Brackets
26f5922174
Return the correct value for fcr0/fir.
...
This is what the PSP actually returns, it's read only.
2013-11-14 23:39:08 -08:00
Unknown W. Brackets
98fb2e0402
armjit: Refer to R11 as MEMBASEREG for clarity.
2013-11-14 23:37:48 -08:00
Sacha
e3bdb3e09b
Disable LitPool as it is causing crashes with Vertex Decoder JIT. Performance seems to be almost unaffected since the IMM changes.
2013-11-15 14:12:00 +10:00
Sacha
20e8a81268
Switch to compile-time ARMV7 define.
2013-11-15 11:20:39 +10:00
Henrik Rydgard
5e3fd4f1fa
Turn down reloc logging a bit more
2013-11-14 23:07:22 +01:00
Henrik Rydgård
90888aad14
Merge pull request #4532 from sum2012/sceio
...
Fix Buzz Ultimate Music Quiz black screen Sporadically
2013-11-14 14:03:20 -08:00
Henrik Rydgård
c9475b17b8
Merge pull request #4514 from shenweip/patch-3
...
Skip the read of secure files which are not in SFO.
2013-11-14 14:02:21 -08:00
Henrik Rydgard
9a14d33372
Disable software divide that appears to be buggy, see #4539
2013-11-14 17:25:02 +01:00
Henrik Rydgård
e98d0d8327
Merge pull request #4510 from pal1000/master
...
Cwcheat: Allow comments in cheat files starting with // mainly for writing cheat usage guidelines
2013-11-14 07:14:21 -08:00
shenweip
37e477f6e5
Add a log and fix typo.
2013-11-14 22:49:26 +08:00
shenweip
9bc534d54a
Wrap some empty functions.
2013-11-14 22:43:00 +08:00
Henrik Rydgard
003cb41db5
Oops, that was too much logging on startup.
2013-11-14 12:32:59 +01:00
Henrik Rydgard
9d4ece0f58
Robustify the ELF loader a little - it didn't like unaligned addresses..
2013-11-14 11:44:14 +01:00
sum2012
f3263ed4ba
Fix Buzz Ultimate Music Quiz Crash Sporadically
...
issue#4497
2013-11-14 05:21:24 +08:00
Henrik Rydgård
da380478f6
Enable software skinning by default
2013-11-13 19:55:20 +01:00
Henrik Rydgard
7e67476b00
Simple unoptimized software skinning.
...
Does not take advantage of the possible reduction in state changes yet.
2013-11-13 18:10:57 +01:00
Henrik Rydgård
836820b41e
Merge branch 'vfpucc'
2013-11-13 10:03:51 +01:00
Sacha
08803c101e
Remove MathUtil.{cpp,h}
2013-11-13 11:26:12 +10:00
The Dax
d56114e30d
Fix VS2013.
2013-11-12 18:37:06 -05:00
Henrik Rydgård
ef8631c57f
Cache VFPU_CTRL_CC in a register
2013-11-12 17:58:29 +01:00
Sacha
91ddddc2ef
Remove unused Thread.{cpp,h}
2013-11-13 02:50:46 +10:00
Henrik Rydgard
54217deb16
Speed up UpdateUniforms a little
2013-11-12 17:06:03 +01:00
Henrik Rydgard
df3765a320
Arm jit: optimize ES, NS conditions in vcmp. Bugfix TR.
2013-11-12 14:43:12 +01:00
Henrik Rydgard
a2e0a4d9bf
x86 jit: Optimize ES, NS (is-nan-or-inf) conditions in vcmp
2013-11-12 14:07:48 +01:00
Henrik Rydgard
84f20a1cad
Small optimizations
2013-11-12 14:05:50 +01:00
Henrik Rydgård
efc35103e5
Merge pull request #4483 from xekarfwtos/tsa
...
Fixes issue #4477 : ULUS10419 : Tenchu: Shadow Assassins hangs the emu.
2013-11-12 04:33:24 -08:00
Unknown W. Brackets
f4b5e8a4c1
Merge pull request #4518 from hrydgard/fpcond
...
ARMJIT: Cache fpcond in a register to avoid store/load between compare and branch
2013-11-12 01:50:16 -08:00
Henrik Rydgård
66581c4d83
Merge pull request #4517 from Kingcom/SaveDialog
...
Partially implement SCE_UTILITY_SAVEDATA_FOCUS_NAME
2013-11-12 01:42:20 -08:00
Henrik Rydgård
17074f5a7f
Cache fpcond in a register to avoid store/load between compare and branch
2013-11-12 10:33:38 +01:00
Kingcom
7f9182033e
Partially implement SCE_UTILITY_SAVEDATA_FOCUS_NAME
2013-11-12 10:10:56 +01:00
Henrik Rydgård
e111034b53
Merge pull request #4516 from unknownbrackets/armjit-minor
...
Improve spilling regs on ARM
2013-11-12 01:01:19 -08:00
Unknown W. Brackets
a334aaf6ca
x86jit: Refactor and skip flushes in branch cont.
...
Still not faster, but at least the code isn't as messy.
2013-11-12 00:45:28 -08:00
Sacha
3e762f2864
Make !USE_FFMPEG savestates compatible.
2013-11-12 18:06:43 +10:00
Unknown W. Brackets
32504ed46e
armjit: Prioritize spilling regs not used soon.
...
This may improve trashing.
2013-11-12 00:03:39 -08:00
Sacha
efad755ccc
Buildfix !USE_FFMPEG
2013-11-12 17:52:43 +10:00
Unknown W. Brackets
1bfce12fdd
armjit: Report some unexpected situations.
2013-11-11 23:41:18 -08:00
Unknown W. Brackets
ac5aacbd16
armjit: Spill an imm armreg back to an imm.
...
We might be able to avoid the store or etc.
2013-11-11 23:39:13 -08:00
shenweip
d3fbbebe16
Only skip when load fail.
2013-11-12 12:14:16 +08:00
shenweip
c5a6e4653b
Only check in secure mode.
2013-11-12 12:08:11 +08:00
shenweip
02ceb312cf
Skip the load of secure files which are not in SFO.
2013-11-12 11:21:26 +08:00
pal1000
6a894463b7
Fixed missing ")"
2013-11-11 17:23:37 +02:00
pal1000
5efc4474b0
Fixed pull 4510, this should work.
2013-11-11 17:14:21 +02:00
pal1000
6e67494db0
Cwcheat: Allow comments in cheat files starting with // mainly for writing cheat usage guidelines
2013-11-11 12:01:44 +02:00
Unknown W. Brackets
7e19933f64
x86jit: Try predicting branch continues.
...
Still doesn't seem to work. Something like a 4% gain in Star Ocean was
the best I saw...
2013-11-10 22:50:23 -08:00
papel
38a5233dd4
Fix GetBufferInfoForResetting
2013-11-11 08:49:15 +02:00
Unknown W. Brackets
bb960480c8
x86/armjit: Stop compiling on a jump to invalid.
2013-11-10 21:59:50 -08:00
Unknown W. Brackets
fd38b10ab6
x86jit: Rename imm funcs to match armjit.
2013-11-10 21:59:49 -08:00
Unknown W. Brackets
359110f010
x86/armjit: Add jump following (off by default.)
...
Inlines function calls up to a certain extent. Allows us to get
immediates all the way to a syscall, for example, usually.
Not sure if faster.
2013-11-10 21:59:49 -08:00
Unknown W. Brackets
aacb31bc18
armjit: Copy over (disabled) immbranch optim.
...
This does a little loop unrolling. Costs a bit more cache space, but
avoids flushing regs for longer.
Not enabled.
2013-11-10 21:59:48 -08:00
Unknown W. Brackets
92ecff4396
armjit: keep track of instructions in jitstate.
...
To match x86.
2013-11-10 21:59:48 -08:00
Unknown W. Brackets
8ceaafc159
armjit: Verify free space while compiling.
2013-11-10 21:59:48 -08:00
Unknown W. Brackets
ca7b2b554b
armjit: fix major typo breaking mult/multu.
2013-11-10 21:54:44 -08:00
Henrik Rydgård
a1196399ef
Merge pull request #4503 from unknownbrackets/armjit-imms
...
Retain immediates in the armjit, optimize similar imms
2013-11-10 17:22:20 -08:00
Unknown W. Brackets
e1fffdb37a
armjit: Don't reload an armreg ptr marked noinit.
2013-11-10 16:43:38 -08:00
Unknown W. Brackets
67eaa2fd1c
armjit: Optimize immediate load/stores in a row.
2013-11-10 16:32:48 -08:00
Unknown W. Brackets
bc0a846475
armjit: Optimize imm addresses (could do better...)
2013-11-10 16:30:20 -08:00
Unknown W. Brackets
c63560c0dd
armjit: Try to find imms to optimize a reg load.
...
This way we skip the MOVW/MOVT and go for one op only.
2013-11-10 16:20:34 -08:00
Unknown W. Brackets
7e46ee0b0f
armjit: Replace MOVI2R with using the regcache.
...
So that it can optimize the value with existing imms.
Not actually optimizing yet.
2013-11-10 15:50:45 -08:00
Unknown W. Brackets
d092f7dd2d
armjit: Remember reg imm values even after flush.
...
This way, we can base other imm values off them, or even do imm math using
them. We can also avoid re-flushing an imm.
2013-11-10 15:50:14 -08:00
Unknown W. Brackets
7f9cbc0f10
armjit: Minor cleanup and logging tweaks.
2013-11-10 15:12:40 -08:00
Unknown W. Brackets
455a7e090d
Compile the cache instruction to nothing.
...
Was showing up in a few profiles, does nothing currently.
2013-11-10 14:38:10 -08:00
Unknown W. Brackets
1cc68f50ca
armjit: Small optimization to syscall instr.
2013-11-10 14:38:10 -08:00
Unknown W. Brackets
b30928036e
armjit: Avoid flushing an imm in beq/bne/etc.
...
We might be able to STMIA it instead.
2013-11-10 14:38:10 -08:00
Unknown W. Brackets
285ec1fad5
armjit: Implement mult/multu for immediates.
...
Uncommon, but may reduce instructions a bit.
2013-11-10 14:38:09 -08:00
Unknown W. Brackets
3a8f0598c4
x86jit: Implement wsbh/wsbw.
2013-11-10 14:38:09 -08:00
Unknown W. Brackets
9bec82873c
armjit: inline byteswaps of imm values.
2013-11-10 14:38:08 -08:00
Unknown W. Brackets
06c8cb9174
armjit: Do shifts with imms as much as possible.
...
This may even make an imm operand2 safe that wasn't before.
2013-11-10 14:38:08 -08:00
Sacha
f29d9c0bf9
Blackberry: fix freezing due to overflow of nanoseconds in timer.
2013-11-11 04:53:08 +10:00
Unknown W. Brackets
b2c2a87511
Fix omitted CC_AL reset, fixes #4498 .
...
Was breaking non-fastmem lwl/lwr/etc.
2013-11-10 09:24:40 -08:00
Henrik Rydgård
cc23635843
Merge pull request #4495 from unknownbrackets/multithread
...
Fix some issues in multithreading on Android
2013-11-10 01:56:50 -08:00
Unknown W. Brackets
d6048dc646
Don't burn the cpu while idle in multithread.
2013-11-09 23:08:45 -08:00
Unknown W. Brackets
113146302b
Don't schedule a finish event when not running.
...
Otherwise it'll get it when it does run, and stop early.
2013-11-09 23:08:44 -08:00
Unknown W. Brackets
afafa5fcd6
Make sure the gpu thread has a chance to run.
...
If the scheduler puts it on the same core, it may not even do anything
before we check if the framebuffer is dirty, so SyncThread will quit since
it's not even running.
Instead, let's wait until it's at least done something.
2013-11-09 23:08:28 -08:00
Unknown W. Brackets
879060f008
Use a CORE_POWERUP state when starting.
...
Otherwise, we could startup in CORE_POWERDOWN in a second game, which is
confusing.
2013-11-09 23:07:52 -08:00
shenweip
0a9cf9b1bc
Turn up logging.
2013-11-10 10:40:56 +08:00
Igor Calabria
33f4b44061
Moves proAdhoc extra functions to a separate file
2013-11-10 01:26:31 +00:00
Unknown W. Brackets
b310edc5f8
Fix typo in ARM debug build.
2013-11-09 15:58:27 -08:00
Henrik Rydgard
d1c012d75e
ARM: Open up all 32 accessible VFP registers if NEON is available.
2013-11-09 20:18:20 +01:00
Henrik Rydgård
70a239ba47
Merge pull request #4486 from unknownbrackets/debugger
...
Use a shortcut for copying instructions, enable G3D log always
2013-11-09 11:08:12 -08:00
Unknown W. Brackets
712b582d26
Remove coreParam.disableG3Dlog and enableDebugging.
...
One was uninitialized, the other one unused.
2013-11-09 11:02:12 -08:00
Henrik Rydgard
0a844ce98d
Delete functions for vsge and vslt, these have been rolled into VecDo3
2013-11-09 19:29:52 +01:00
Henrik Rydgard
63334698e1
Add temporary setting to disable the vertex decoder jit while we debug it
2013-11-09 18:16:26 +01:00
Unknown W. Brackets
a3a061a69f
armjit: Optimize a division by a power of two.
...
These really happen.
2013-11-09 08:43:53 -08:00
Unknown W. Brackets
1776c85882
armjit: Implement a software divide for divu.
...
It's not actually that much code.
2013-11-09 08:43:52 -08:00
Unknown W. Brackets
b2a240d105
armjit: Implement msub/msubu.
2013-11-09 08:43:52 -08:00
Unknown W. Brackets
3aa8706ae7
armjit: Optimize lwl/lwr against an imm address.
2013-11-09 08:43:48 -08:00
Unknown W. Brackets
4026944b02
armjit: Handle lwl/lwr (not pretty, though.)
2013-11-09 08:42:30 -08:00
Henrik Rydgård
e90f7f360d
Merge pull request #4480 from unknownbrackets/perf
...
Flush regs using STMIA if possible, plus imm adjustments (armjit)
2013-11-09 08:41:25 -08:00
Henrik Rydgard
06ce01ea04
Remove erroneous comment.
2013-11-09 17:34:52 +01:00
Unknown W. Brackets
54168b173e
armjit: Clean up some magic numbers.
2013-11-09 08:25:08 -08:00
Unknown W. Brackets
6038d96b46
armjit: Flush regs using STMIA where possible.
2013-11-09 08:25:07 -08:00
Unknown W. Brackets
e686ff59bf
armjit: Allocate regs in preferred slots.
...
This may allow better flushing. Not sure if these are the best regs,
but if they aren't it shouldn't really hurt.
2013-11-09 08:25:07 -08:00