Commit Graph

83 Commits

Author SHA1 Message Date
Adrian Conlon
c92c8d768c string_view speed-ups in the JSON related code 2024-03-08 19:17:02 +00:00
Adrian Conlon
ef0f8a5654 Speedup by using string_view in memory read/write events 2024-03-08 17:51:15 +00:00
Adrian Conlon
63e958e069 Make disassembly available from the checking code. 2024-01-11 09:17:59 +00:00
Adrian Conlon
81f5efb49a Tidy JSON parsing in HarteTests 2024-01-10 14:41:37 +00:00
Adrian Conlon
22f337569d Looks like the stray tick in the 6502 step method wasn't stray after all! 2024-01-07 11:37:28 +00:00
Adrian Conlon
69a845e2f4 How did that "secret" tick in the M6502 implementation get there??? 2024-01-06 20:53:50 +00:00
Adrian Conlon
bc37fd4e30 Better information in the event of failing tests 2024-01-06 12:17:45 +00:00
Adrian Conlon
48369f0e98 Remove warning about temporary values being used 2024-01-06 12:17:15 +00:00
Adrian Conlon
c15f7f836e Start testing undocumented instructions 2024-01-05 12:58:32 +00:00
Adrian Conlon
72e548ae13 Use simpler simdjson access methods 2024-01-01 23:25:32 +00:00
Adrian Conlon
d0f445b9f9 Update simdjson for M6502 tests 2024-01-01 22:35:38 +00:00
Adrian Conlon
84a2d0f952 Whoops: failed to check cycle problems in M6502 tests 2023-12-31 14:21:17 +00:00
Adrian Conlon
14af272d75 Update simdjson 2023-04-01 07:52:02 +01:00
Adrian Conlon
9e2c3e32b1 Fully switch to C++20 2022-07-01 09:30:38 +01:00
Adrian Conlon
4c65c22a85 Use latest SIMDJson library 2022-07-01 09:26:46 +01:00
Adrian Conlon
1796d62517 std::string_view rather than std::string reads a bit better for this use. 2022-01-21 22:49:22 +00:00
Adrian Conlon
8e0092ec9d Tidy up noexcept specification 2022-01-17 19:10:15 +00:00
Adrian Conlon
83b7efdd03 Use iterator, rather than index access for JSON data, if possible. Bit of a speed up! 2022-01-06 09:50:58 +00:00
Adrian Conlon
53ef92dbc4 So I can compare implementations, add a non-coroutine variant of the HarteTest suite. 2022-01-03 00:50:41 +00:00
Adrian Conlon
4efa66c44e Remind MSVC++ of its responsibilities as to properly define "__cplusplus" 2022-01-01 15:13:16 +00:00
Adrian Conlon
42e45ccdef Upgrade to boost 1.78, due to coroutine2 incompatibilities. 2022-01-01 13:30:41 +00:00
Adrian Conlon
bb75f98d5d Experimentation with C++17 compatibilty. Mainly an exercise in rewrting coroutine code in boost::coroutine2. Interesting! 2022-01-01 13:20:34 +00:00
Adrian Conlon
6b6ce71140 Remove unused includes 2022-01-01 11:13:28 +00:00
Adrian Conlon
d570be3f0e Prefer accessor methods, if available. 2022-01-01 11:12:51 +00:00
Adrian Conlon
fa9c4ea3b3 Catch some missing [[nodiscard]] attributes. 2021-12-17 21:08:10 +00:00
Adrian Conlon
7af8a19e2f Coroutine generator becomes a part of the core EightBit library. 2021-12-17 09:19:16 +00:00
Adrian Conlon
3d5d4d889c Lots of C++20 and stability changes in 6502 HarteTest 2021-12-08 19:54:53 +00:00
Adrian Conlon
61b7359505 cycles_t is better served as an array_t typedef 2021-12-08 19:43:40 +00:00
Adrian Conlon
72705e8dd0 Updated projects for VS2022 2021-12-08 19:42:34 +00:00
Adrian Conlon
8853e1157c Refactor the checking code into into it's own class.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-31 09:49:10 +00:00
Adrian Conlon
04a9ffdcda Some visibility refactoring.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-28 16:56:54 +01:00
Adrian Conlon
9e9c15e289 Use C++20 co-routines as generators for opcode suite and test generation.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-27 09:53:58 +01:00
Adrian Conlon
45405d5624 Improve overall test speed by reusing test runners.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-25 18:40:21 +01:00
Adrian Conlon
75dd53f829 Const a few member variables.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 23:20:05 +01:00
Adrian Conlon
09cc616ee9 Whoops: revert accidental commenting of code.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 14:59:14 +01:00
Adrian Conlon
a37aaeba31 Unify the compilation options to what seems to be a sensible point.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 14:12:57 +01:00
Adrian Conlon
3158b2238a Refactor the JSON core parsing code a little
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 13:39:08 +01:00
Adrian Conlon
76c03bb4d4 Tidy up header usage.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 11:42:43 +01:00
Adrian Conlon
f8b5045f99 Use string_view from simdjson. Interesting speed up.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-24 11:15:10 +01:00
Adrian Conlon
f85fec3c81 Constify a few statements. Not much difference.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-23 17:46:59 +01:00
Adrian Conlon
17b71aafc3 Refactor to share JSON implementation details.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-22 13:10:23 +01:00
Adrian Conlon
8b7607f5e9 Make the code a little more like the JSON schema.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-22 11:24:45 +01:00
Adrian Conlon
e9df345577 More simplifications and faster yet!
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-22 10:51:36 +01:00
Adrian Conlon
e63ace34e9 Simplifications of json usage. No slow down.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-21 22:43:16 +01:00
Adrian Conlon
393fab2bbc Further simplifications and speedups to the json code.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-21 22:03:07 +01:00
Adrian Conlon
0adb60a0f4 Remove unneeded method from ram_t 2021-10-21 13:39:10 +01:00
Adrian Conlon
d59c72cf00 Make the test run output a little more comprehensible.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-21 13:38:44 +01:00
Adrian Conlon
0deb37ab19 More JSON code simplifications.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-20 23:06:42 +01:00
Adrian Conlon
c39178f9d1 Remove unnecessary json libraries from project.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-20 22:48:19 +01:00
Adrian Conlon
b70f24a581 Draw an end to my json experimentations. simdjson is king. long live simdjson!
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-20 21:44:43 +01:00