Usage of __sync_fetch_and_nand with 64-bit operands in emscripten causes the following error:
wasm2js: /usr/local/google/home/sbc/dev/wasm/binaryen/src/passes/I64ToI32Lowering.cpp:471: void wasm::I64ToI32Lowering::visitAtomicCmpxchg(wasm::AtomicCmpxchg *): Assertion `curr->type != Type::i64 && "64-bit AtomicCmpxchg not implemented"' failed.
I think this is probably super rare and not a huge deal, but creating this issue so I can link to it in the test code.