Bug 8827 – Cannot move contents of R12

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2012-10-15T14:14:00Z
Last change time
2015-06-09T05:11:51Z
Keywords
iasm, rejects-valid
Assigned to
nobody
Creator
jcrapuchettes

Comments

Comment #0 by jcrapuchettes — 2012-10-15T14:14:26Z
Using dmd 2.060 and 2.059, the contents of R12 cannot be moved to another register. I have tested with mov, movsd, and movupd instructions and the compiler returns with all of them: "Error: bad addr mode". Example: void main() { asm { mov R8, [R12]; } }
Comment #1 by dsimcha — 2013-04-19T12:31:13Z
*** Issue 9964 has been marked as a duplicate of this issue. ***
Comment #2 by bugzilla — 2013-04-19T15:01:48Z
Comment #3 by github-bugzilla — 2013-04-19T15:41:53Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e328891fe15946a038ac893a2dc9df66b85bb573 fix Issue 8827 - Cannot move contents of R12 https://github.com/D-Programming-Language/dmd/commit/9ccd22d5c3d7fc311925481d0b3757110127f42f Merge pull request #1914 from WalterBright/fix8827 fix Issue 8827 - Cannot move contents of R12
Comment #4 by github-bugzilla — 2013-04-19T16:09:57Z
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ed9e72d41ecb325c669a3247f6a374ef83051f90 Merge pull request #1914 from WalterBright/fix8827 fix Issue 8827 - Cannot move contents of R12