1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-10-05 14:16:33 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Thomas Harte
6b437c3907 Merge pull request #1597 from TomHarte/NewShaker
Ensure CPCShakerTests is runnable.
2025-10-03 22:33:52 -04:00
Thomas Harte
4756f63169 Ensure CPCShakerTests is runnable. 2025-10-03 22:25:16 -04:00
3 changed files with 7 additions and 2 deletions

View File

@@ -186,7 +186,9 @@ public:
InstructionSet::x86::SegmentRegisterSet<Descriptor> descriptors;
auto operator <=>(const Segments &rhs) const = default;
auto operator ==(const Segments &rhs) const {
return descriptors == rhs.descriptors;
}
private:
void load_real(const Source segment) {

View File

@@ -26,6 +26,9 @@ template <typename Full, typename Half> union alignas(Full) alignas(Half) Regist
auto operator <=>(const RegisterPair &rhs) const {
return full <=> rhs.full;
}
auto operator ==(const RegisterPair &rhs) const {
return full == rhs.full;
}
#if TARGET_RT_BIG_ENDIAN
struct {
Half high, low;

View File

@@ -160,7 +160,7 @@ private:
@interface CPCShakerTests : XCTestCase
@end
@implementation CPCShakerTests {}
@implementation CPCShakerTests
- (void)testCSLPath:(NSString *)path name:(NSString *)name {
using namespace Storage::Automation;