make d17p2 sub-ms

This commit is contained in:
2024-12-19 10:48:58 -08:00
parent 4c57a82818
commit 406b675944

View File

@@ -89,7 +89,7 @@ func possibleAs(fromB5 b5Suffix: Int) -> [Register] {
let a = Register(value: (b4^b5Suffix) << aShift, mask: 0b111 << aShift) let a = Register(value: (b4^b5Suffix) << aShift, mask: 0b111 << aShift)
return a.combine(with: Register(value: aSuffix, mask: 0b111)) return a.combine(with: Register(value: aSuffix, mask: 0b111))
} }
return choices.sorted() return choices
} }
func findA(from a: Register, _ outputs: [Int]) -> [Register] { func findA(from a: Register, _ outputs: [Int]) -> [Register] {