[ros-dev] [ros-diffs] [dgorbachev] 53907: [NTOSKRNL] Use inline asm in KiIsNpxErrataPresent(). C code can be optimized in a wrong way.

Dmitry Gorbachev d.g.gorbachev at gmail.com
Sat Oct 1 18:39:26 UTC 2011


> Those three intrinsics should be barriers -- why is it moving the math outside?

The math does not read or write any memory, and the result lies in a
register. It can be lawfully moved across the barriers.

So, as I understand, you want C code back?



More information about the Ros-dev mailing list