www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8846] New: Inline Assembler: add support of cmpxchg16b opcode

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8846

           Summary: Inline Assembler: add support of cmpxchg16b opcode
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: resume755 mail.ru



It can be useful for compare-and-swap of values (typically pointers), for cas2
(double cas) function implementation which can be used in lock-free code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 17 2012
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8846


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec
            Summary|Inline Assembler: add       |Specs for Inline Assembler
                   |support for cmpxchg16b      |don't include cmpxchg16b
                   |opcode                      |
           Severity|enhancement                 |normal



It is implemented, but is missing from the list in the spec. Also cmpxchg8b is
incorrectly written as cmpxch8b.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 12 2012