Dr. Chat
6a67632af1
Update RingBuffer - Add immediate read/write and some error checking asserts.
2016-01-24 22:39:05 -06:00
sephiroth99
f17b80c61e
Use stdlib 'hardware_concurrency' to get logical processor count
...
This has the benifit of being multiplatform.
2016-01-20 11:04:28 -05:00
sephiroth99
d78317847d
Fix link error when profiling is disabled
...
These four functions are needed by microprofile even when profiling
is disabled.
2016-01-20 09:35:27 -05:00
Ben Vanik
6777ce6668
Reconcile debugger and save state stuff into a single implementation.
...
Fixes #497 and fixes #496 .
Still rough edges, but at least less duplication.
2016-01-18 11:48:21 -08:00
Dr. Chat
4b7a403337
xe::be<uint64_t> visualizers
2016-01-13 01:30:46 -06:00
Dr. Chat
0cf6e166a1
vec128 bitwise operators
2016-01-13 01:29:47 -06:00
Ben Vanik
1b487b67c9
Why travis doesn't have aligned_alloc but my other two unixes do, ?.
2016-01-01 13:08:15 -08:00
Ben Vanik
09aa3179fb
Adding cstdlib to memory.h.
2016-01-01 20:59:52 +00:00
Ben Vanik
c93b93fe55
Standardizing wchar->char in main().
2016-01-01 12:46:26 -08:00
Ben Vanik
c4ca7ad2ae
Fixing builds when profiling is disabled.
2016-01-01 04:51:02 +00:00
Ben Vanik
a95be25e2f
Merge branch 'linuxfix' of https://github.com/sephiroth99/xenia into sephiroth99-linuxfix
2015-12-31 14:39:23 -08:00
Ben Vanik
952d35911c
Folding build_tools back into the main repo for simplicity.
2015-12-30 16:53:14 -08:00
sephiroth99
d982b54bda
byte_stream: Remove template specialization in class scope
2015-12-30 17:42:18 -05:00
sephiroth99
a743c12e72
byte_stream: add missing include for memcpy
2015-12-30 17:42:18 -05:00
sephiroth99
fa953fe758
bit_map: Add missing include for size_t definition
2015-12-30 17:42:18 -05:00
sephiroth99
fc04ca040f
Fix building with profiling disabled
2015-12-30 17:42:18 -05:00
Ben Vanik
76ed07cfff
Adding back FILE_FLAG_BACKUP_SEMANTICS.
2015-12-30 09:19:54 -08:00
Ben Vanik
948aa2400d
Formatting all code. Too gnarly to rebase properly.
2015-12-29 13:13:34 -08:00
Dr. Chat
6108ff1608
Use a 64-bit bitmap rather than a 32-bit bitmap.
2015-12-29 13:10:02 -08:00
Dr. Chat
d4da8cab4e
BitMap: Change the size param to the number of entries (bits)
2015-12-29 13:09:59 -08:00
Dr. Chat
c5ac4185ac
Threadsafe bitmap class
2015-12-29 13:09:58 -08:00
Dr. Chat
08663fd745
Non-const ByteStream::data()
2015-12-29 13:09:55 -08:00
Dr. Chat
44c9e8fe25
Save/Restore the guest clock in XThreads
2015-12-29 13:09:47 -08:00
Dr. Chat
5f79d8f97e
Fix RingBuffer::EndRead not detecting a split read (where second length == 0)
2015-12-29 13:09:45 -08:00
Dr. Chat
3678a22c90
Use TLS to store the current thread.
2015-12-29 13:09:24 -08:00
Dr. Chat
0b5def1ff6
MappedMemory: Support opening empty files (and extending them) / remapping files / Truncate on close
2015-12-29 13:09:21 -08:00
Dr. Chat
62351a62de
filesystem::CreateFile
2015-12-29 12:35:55 -08:00
Dr. Chat
938d849c06
ByteStream class
2015-12-29 12:32:50 -08:00
Dr. Chat
42c657c40a
Remove processor dependency on XThread for breakpoints
2015-12-29 12:32:47 -08:00
Ben Vanik
5019f1aa98
Possible fix for failing to create files.
2015-12-29 11:02:28 -08:00
Ben Vanik
cc72de0f64
Moving disasm to new tables.
...
Also adding useful CPU docs.
2015-12-28 20:49:22 -08:00
Ben Vanik
5de82887fa
Adding build version information to main window/log.
2015-12-27 11:53:37 -08:00
Ben Vanik
0a316808a5
Include order fixes.
2015-12-27 10:27:46 -08:00
Ben Vanik
0e58208add
Dropping elemental-forms and swapping out with imgui.
...
Too much code for such little use. This should simplify porting.
2015-12-26 20:25:24 -08:00
Ben Vanik
7419e7eb4a
Trace dump tool, for dumping pngs (and in the future more stuff).
2015-12-13 11:59:14 -08:00
Ben Vanik
52f339cee4
Removing bogus assert.
2015-12-05 23:24:17 -08:00
Ben Vanik
00240945fe
Cleanup for the latest clang-format version.
2015-12-03 19:52:02 -08:00
Ben Vanik
249b952de9
Adding some comments.
2015-12-02 17:37:48 -08:00
Ben Vanik
65130edaa1
First pass ShaderTranslator base type, able to disasm in msft style.
2015-11-28 16:19:04 -08:00
Ben Vanik
1956b8708e
Fixing include orders and whitelisting others.
...
Will be broken until clang SVN 253772 is available on travis/snapshots.
2015-11-21 11:34:46 -08:00
Ben Vanik
93708c0c1c
xe::format_string utility.
2015-11-09 11:13:34 -08:00
Ben Vanik
4af6c41740
Moving profiling.h to base - UI could be separated for cleanliness.
2015-11-07 12:31:07 -08:00
Ben Vanik
65c5279611
Fixing style.
2015-11-05 16:39:27 -08:00
Dr. Chat
88be0a362c
memory::QueryProtect
2015-10-22 20:16:27 -05:00
Ben Vanik
64b8dcfd99
Lint fixes.
2015-10-17 09:30:28 -07:00
sephiroth99
7fb4fd2790
More workarounds for __m128.
2015-09-22 07:44:04 -07:00
sephiroth99
e1d569dd7c
Fix usage of __m128.
...
With GCC and clang, __m128 is not a struct, so there are no struct members
to access the individual items in the vector.
Use standard load/store function and some hackery to workaround this
limitation.
2015-09-22 07:41:28 -07:00
sephiroth99
ff7c755bc9
memory: AlignedAlloc: fallback to aligned_alloc()
...
When compiling with clang++, __STDC_VERSION__ is not defined (obviously
as clang++ is not a C compiler). Because of this, check if compiling
with MSVC and fallback to the Linux implementation. If the latter is not
supported, compilation will fail, as it previously would have with the
2015-09-22 07:39:06 -07:00
Ben Vanik
83f3d520b2
Add missing header includes.
2015-09-22 07:38:59 -07:00
Ben Vanik
5d033f9cb3
A new debugger.
...
Lots of bugs/rough edges/etc - issues will be filed.
Old-style debugging still works (just use --emit_source_annotations to get
the helpful movs back and --break_on_instruction will still fire).
2015-09-20 21:31:05 -07:00