~skmp
a2831d67a0
vmem/alloc: TARGET_NO_NVMEM to not use page tricks
...
This combined with various other configs avoid segfault/pagefaults usage
2015-07-29 04:08:07 +02:00
~skmp
59c6012db2
pvr/rend_if: TARGET_NO_THREADS support
2015-07-29 04:08:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
c8f982b8f5
linux-common: TARGET_NO_EXCEPTIONS, TARGET_NO_THREADS
2015-07-29 04:08:05 +02:00
~skmp
518c547fb5
nixprof: move to its own module, TARGET_NO_NIXPROF, NO_NIXPROF
2015-07-29 04:08:04 +02:00
~skmp
b1a55aba3f
ta_parser: use uniform function signatures for Append* callbacks
...
- Fixes emscripten build & makes more sense overall
2015-07-29 04:08:03 +02:00
Stefanos Kornilios Mitsis Poiitidis
2347b95bf2
aica/sgc: fix update_rate warning
2015-07-29 03:26:58 +02:00
Stefanos Kornilios Mitsis Poiitidis
a28209cae2
deps/sha256: memset is in string.h, not memory.h
2015-07-29 03:26:08 +02:00
Stefanos Kornilios Mitsis Poiitidis
6ebaa74ffe
core.mk: Only android needs deps/libzip/ right now
2015-07-29 03:24:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
30229f6724
cl: Fix const warning
2015-07-29 03:23:08 +02:00
Stefanos Kornilios Mitsis Poiitidis
75fd698695
Merge pull request #701 from reicast/feat/rec-cpp
...
Initial implementation of a "dynarec-structured" cached shop interpreter
2015-07-29 02:43:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
a82f9704d6
shrec: Limit max blocksize to 511 shops
2015-07-29 02:29:16 +02:00
~skmp
f1a6f04dce
rec-cpp: verify() that we have an executer w/ shop_count
2015-07-29 02:29:07 +02:00
Stefanos Kornilios Mitsis Poiitidis
ec5bb09917
rec-cpp: Add sig aCaCcCdC for mul_u64, mul_s64
2015-07-29 02:28:52 +02:00
~skmp
5b67e3f090
rec-cpp: SH4_TCB doesn't need to be in .text if not executable
2015-07-29 02:28:39 +02:00
Stefanos Kornilios Mitsis Poiitidis
1e0224dd1b
rec-cpp: Add sig aCaCcCdC for rocl, rocr
2015-07-29 02:28:29 +02:00
Stefanos Kornilios Mitsis Poiitidis
7de36d56ec
Merge pull request #712 from reicast/feat/imgread-readmiss-with-sector
...
imgread/common: On read error, print the sector that failed
2015-07-29 00:49:21 +02:00
~skmp
39e1439b93
imgread/common: On read error, print the sector that failed
2015-07-29 00:41:14 +02:00
Stefanos Kornilios Mitsis Poiitidis
fb6d0a0166
Merge pull request #710 from reicast/feat/vmu-safer-creation
...
maple: Gracefully fail if vmu cannot be written
2015-07-29 00:03:00 +02:00
Stefanos Kornilios Mitsis Poiitidis
83d3abf266
maple: Gracefully fail if vmu cannot be written
2015-07-28 23:54:50 +02:00
Stefanos Kornilios Mitsis Poiitidis
f62d532b78
Audiostream: Don't log on every push if audio is disabled
...
There is an initialization warning which is enough to warn users
2015-07-28 23:52:48 +02:00
Jan Holthuis
3faf51c6ce
Removed mode variable in print_mem_addr()
...
This removes the mode variable in core/linux/common.cpp's
print_mem_addr(). It not neccessary and produces compiler warnings.
2015-07-27 19:12:28 +02:00
Jan Holthuis
9e00305c90
Fix anonymous struct/union linkage errors in gdromv3.cpp
...
Since read_params, packet_cmd, read_buff, pio_buff, ata_cmd, cdda and
ByteCount have not been declared static, they are visible in other
translation units. Since their structs are anonymous, their types have
internal linkage only. Thus, accessing them in other translations units
is impossible anyway.
By declaring them static, we're giving it internal linkage so that
neither the type nor the variable are visible in other translation
units.
Here are the errors:
../../core/hw/gdrom/gdromv3.cpp:50:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> read_params' with
linkage
} read_params;
^
../../core/hw/gdrom/gdromv3.cpp:83:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> packet_cmd' with
linkage
} packet_cmd;
^
../../core/hw/gdrom/gdromv3.cpp:91:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> read_buff' with
linkage
} read_buff;
^
../../core/hw/gdrom/gdromv3.cpp💯 3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> pio_buff' with
linkage
} pio_buff;
^
../../core/hw/gdrom/gdromv3.cpp:106:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> ata_cmd' with
linkage
} ata_cmd;
^
../../core/hw/gdrom/gdromv3.cpp:122:3: warning: anonymous type with no
linkage used to declare variable '<anonymous struct> cdda' with linkage
} cdda;
^
../../core/hw/gdrom/gdromv3.cpp:156:4: warning: anonymous type with no
linkage used to declare variable '<anonymous union> ByteCount' with
linkage
} ByteCount;
^
2015-07-27 19:08:35 +02:00
Stefanos Kornilios Mitsis Poiitidis
4b97f468b5
rec-cpp: Implement block ends and a few more decoders
...
- Full IL mode now works!
- Dispatch up to 270 mips on 2.2ghz i7, on a complex 3d scene
- Will run many games fullspeed on modern pc, thanks to idleskip
2015-07-25 20:38:48 +02:00
Stefanos Kornilios Mitsis Poiitidis
fb55e7f6f8
sh4/canonical: Provide impls for sync_sr and sync_fpscr
...
This shouldn't be a requirement as directly using shil_cf_ext should work,
but for some reason if I don't msvc optimizes the functions out.
2015-07-25 20:36:06 +02:00
Stefanos Kornilios Mitsis Poiitidis
cbda836a96
she/core: Less stupid register swap functions
2015-07-25 20:33:53 +02:00
Stefanos Kornilios Mitsis Poiitidis
b1f7015a98
rec/cpp: Mostly fully direct specialized dispatchers
...
- Nest shil implementations to shilop_##name::form::impl for easier template matching
- Add more direct handlers
- Add prints if a direct handler isn't found
- Remove multiple indirect handlers, leave them for fallback
2015-07-25 14:36:04 +02:00
Stefanos Kornilios Mitsis Poiitidis
51a6ed2146
rec/all: optional mips counter on recs
...
Also de-unroll rec-cpp for debug builds
2015-07-25 14:31:46 +02:00
Stefanos Kornilios Mitsis Poiitidis
00dbd6222f
rec-cpp: Massage for gcc compatibility
2015-07-25 14:25:51 +02:00
Stefanos Kornilios Mitsis Poiitidis
1710f76ab1
unroll the execution loop
2015-07-25 14:24:11 +02:00
Stefanos Kornilios Mitsis Poiitidis
7303a046be
rec-cpp: Direct calls to shil_opcl_* handlers for many opcodes
2015-07-25 14:23:59 +02:00
Stefanos Kornilios Mitsis Poiitidis
39e369411c
shil/canonical: Fix decls, comment
2015-07-25 14:23:45 +02:00
Stefanos Kornilios Mitsis Poiitidis
e4138f9a60
rec-cpp: Wastefully generate more dispatchers for better BTB cache locality
...
The real solution is to have inlining between the (now static) dispatchers and the impls.
It's gonna be hard to convince the compiler on that.
2015-07-25 14:23:07 +02:00
Stefanos Kornilios Mitsis Poiitidis
fc01428c30
rec-cpp: Force resets when running out of blocks
2015-07-25 14:22:28 +02:00
Stefanos Kornilios Mitsis Poiitidis
bfef969626
rec-cpp: Implement stuff up to the corejit layer
2015-07-25 14:21:53 +02:00
Stefanos Kornilios Mitsis Poiitidis
cd80850acb
First idea for a fully portable "jit"
2015-07-25 14:20:54 +02:00
Stefanos Kornilios Mitsis Poiitidis
39ead6159b
Merge pull request #699 from reicast/feat/build-defines-cleanup
...
(Imma merge this, as it's needed for rec-cpp work, but that doesn't mean the discussion is closed)
2015-07-25 14:03:35 +02:00
Stefanos Kornilios Mitsis Poiitidis
a4a427feea
shell/windows: Move taskip, swap to F1,2,10 from '1', '2', '0'
2015-07-25 13:28:57 +02:00
Stefanos Kornilios Mitsis Poiitidis
58d4a55696
build: fix makefiles
2015-07-25 13:19:38 +02:00
Stefanos Kornilios Mitsis Poiitidis
9cf9bacd13
build: Refactor HOST_NO_REC everywhere
2015-07-25 13:19:26 +02:00
Stefanos Kornilios Mitsis Poiitidis
a9c76351f6
build: Draft & cleanup, refactor rec* options
2015-07-25 13:17:42 +02:00
TwistedUmbrella
0fb51735da
Update iOS project, Add support for iOS define
2015-07-23 23:30:35 -04:00
Stefanos Kornilios Mitsis Poiitidis
67a8ceabdd
shil/param: add imm_value()
2015-07-23 02:08:25 +02:00
Stefanos Kornilios Mitsis Poiitidis
19535cc34d
vmem: Remove some useless/dead code
2015-07-21 16:04:22 +02:00
Stefanos Kornilios Mitsis Poiitidis
1aa01dbc63
sigsegv: Change print handler to use %p for pointers
2015-07-21 15:42:48 +02:00
Stefanos Kornilios Mitsis Poiitidis
82ef7d0754
jitx64: 16KBs of emit space are guaranteed, not 64
2015-07-21 15:42:10 +02:00
Stefanos Kornilios Mitsis Poiitidis
0a3fcfe4ac
jit-x64: typofix on shop_writem, WriteMem64
2015-07-21 14:48:37 +02:00
Stefanos Kornilios Mitsis Poiitidis
b056cf6cef
Implement jitcore opset for x64
...
Now mov64, readm, writem, in addition to jittiny ifb, jdyn, mov32
2015-07-14 20:17:45 +02:00
Stefanos Kornilios Mitsis Poiitidis
1125f25eae
Fix win86 build
2015-07-14 17:47:54 +02:00
Stefanos Kornilios Mitsis Poiitidis
f3c8e3623d
Fix HOST_CPU for x64 windows
2015-07-14 17:31:48 +02:00
Stefanos Kornilios Mitsis Poiitidis
8cb6d6578c
Count cycles correctly
2015-07-14 17:23:02 +02:00