d8.file.execute("test/mjsunit/wasm/wasm-module-builder.js");
let builder = new WasmModuleBuilder();builder.addImportedMemory('m', 'imported_mem', 0, 1);builder.addFunction('atomic_add', kSig_i_ii).addBody([kExprLocalGet, 0, kExprLocalGet, 1, kAtomicPrefix, kExprI32AtomicAdd, 2, 0]).exportFunc();builder.toModule();
out/x64.optdebug/d8 test.js --print-wasm-code --code-comments --liftoff-only --no-wasm-lazy-compilation --no-debug-code
atomic binop[ load memory start0x227693bb48cb 4b 488b5e17 REX.W movq rbx,[rsi+0x17]]0x227693bb48cf 4f 488bca REX.W movq rcx,rdx0x227693bb48d2 52 f00fc10c03 lock xaddl [rbx+rax*1],rcx
atomic binop[ load memory start0x1ece0cd448cb 4b 488b5e17 REX.W movq rbx,[rsi+0x17]]0x1ece0cd448cf 4f 488bca REX.W movq rcx,rdx0x1ece0cd448d2 52 0fc10c03 xaddl [rbx+rax*1],rcx
--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/838d2d34-3a8c-46da-8cf8-524e32f1a57cn%40googlegroups.com.
Clemens Backes
Software Engineer
Google Germany GmbH
Erika-Mann-Straße 33
80636 München
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.