| ... | @@ -256,12 +256,12 @@ test "atomicrmw with ints" { | ... | @@ -256,12 +256,12 @@ test "atomicrmw with ints" { |
| 256 | | 256 | |
| 257 | fn testAtomicRmwInts() !void { | 257 | fn testAtomicRmwInts() !void { |
| 258 | // TODO: Use the max atomic bit size for the target, maybe builtin? | 258 | // TODO: Use the max atomic bit size for the target, maybe builtin? |
| 259 | try testAtomicRmwInt(8); | 259 | try testAtomicRmwInt(.unsigned, 8); |
| 260 | | 260 | |
| 261 | if (builtin.cpu.arch == .x86_64) { | 261 | if (builtin.cpu.arch == .x86_64) { |
| 262 | try testAtomicRmwInt(16); | 262 | try testAtomicRmwInt(.unsigned, 16); |
| 263 | try testAtomicRmwInt(32); | 263 | try testAtomicRmwInt(.unsigned, 32); |
| 264 | try testAtomicRmwInt(64); | 264 | try testAtomicRmwInt(.unsigned, 64); |
| 265 | } | 265 | } |
| 266 | } | 266 | } |
| 267 | | 267 | |