Thread overview
[Issue 12968] DMD inline asm outputs wrong XCHG instruction
[Issue 12968] DMD inline asm outputs wrong instruction
Jun 23, 2014
Orvid King
Jun 23, 2014
safety0ff.bugz
Jun 23, 2014
Orvid King
Jun 23, 2014
Orvid King
Jun 23, 2014
Orvid King
Jun 27, 2014
yebblies
June 23, 2014
https://issues.dlang.org/show_bug.cgi?id=12968

Orvid King <blah38621@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |blah38621@gmail.com

--- Comment #1 from Orvid King <blah38621@gmail.com> ---
Provided I understand the code correctly, I believe the offending code is backend/cod3.c line 5128. Now I just have to figure out why it's reaching there.

--
June 23, 2014
https://issues.dlang.org/show_bug.cgi?id=12968

safety0ff.bugz <safety0ff.bugz@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|DMD inline asm outputs      |DMD inline asm outputs
                   |wrong instruction           |wrong XCHG instruction

--
June 23, 2014
https://issues.dlang.org/show_bug.cgi?id=12968

Orvid King <blah38621@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
           Assignee|nobody@puremagic.com        |blah38621@gmail.com

--
June 23, 2014
https://issues.dlang.org/show_bug.cgi?id=12968

--- Comment #2 from Orvid King <blah38621@gmail.com> ---
Well, it appears I don't understand the right format to get it to auto-reference the PR here, so I'll do it manually instead.

https://github.com/D-Programming-Language/dmd/pull/3690

--
June 23, 2014
https://issues.dlang.org/show_bug.cgi?id=12968

Orvid King <blah38621@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |iasm
                 OS|Linux                       |All

--
June 24, 2014
https://issues.dlang.org/show_bug.cgi?id=12968

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/6f013e558501c7b736656bec12ee241bd6f65684 Fix issue 12968 - Incorrect codgen for xchg with R8

https://github.com/D-Programming-Language/dmd/commit/9ddfff545a12d9c3b4df4829e3d4f8c90679cc02 Merge pull request #3690 from Orvid/issue12968

Fix issue 12968 - incorrect codegen

--
June 24, 2014
https://issues.dlang.org/show_bug.cgi?id=12968

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
June 27, 2014
https://issues.dlang.org/show_bug.cgi?id=12968

yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies@gmail.com

--- Comment #4 from yebblies <yebblies@gmail.com> ---
(In reply to Orvid King from comment #2)
> Well, it appears I don't understand the right format to get it to auto-reference the PR here, so I'll do it manually instead.
> 
> https://github.com/D-Programming-Language/dmd/pull/3690

There is no auto reference, only the message when the commit is merged.

--