You probably need the same guarantees for CS. So how about putting them into a code stub? And calling the stub for the %_ cases in all three compilers?
BTW wouldn't it work if FCG always uses the C++ version? -- Benedikt Ben Smith <bi...@chromium.org> schrieb am Do., 17. Dez. 2015, 00:01: > Hi v8-dev, > > I added the Atomics API earlier this year (in src/js/harmony-atomics.js > and src/runtime/runtime-atomics.cc). It's currently implemented as runtime > functions using compiler intrinsics. I'd like to add a TurboFan > implementation, but I need to make sure that the generated assembly is the > same in both the full-codegen and for TF. What's the best way to do this? > > FYI, here's the associated bug: > https://bugs.chromium.org/p/v8/issues/detail?id=4614 > > Thanks, > -Ben > > -- > -- > v8-dev mailing list > v8-dev@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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- v8-dev mailing list v8-dev@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.