[Mesa-dev] [PATCH v5] gallium/auxiliary: add inc and dec alternative with return (v3)

Patrick Baggett baggett.patrick at gmail.com
Mon Nov 17 11:26:27 PST 2014

> Looking at u_atomic.h there is a section that uses
> PIPE_ATOMIC_ASM_MSVC_X86 and has explicit assembly, and there's a
> section that uses PIPE_ATOMIC_MSVC_INTRINSIC and has intrinsics. No
> clue whatsoever what the difference between them is, but presumably it
> doesn't exist solely for the purpose of annoying developers...

I can't think of a good reason; I would be interested in knowing why. Last
time I checked, MSVC is terrible at optimizing around __asm{} blocks and if
I recall, only x86 (i.e. 32-bit) supports inline assembly. This is a bit
off-topic though...

>   -ilia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141117/4e9e2e9f/attachment.html>

More information about the mesa-dev mailing list