Bug 13138 – add peek/poke as compiler intrinsics

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-07-16T01:20:00Z
Last change time
2015-02-18T03:38:23Z
Assigned to
nobody
Creator
bugzilla

Comments

Comment #0 by bugzilla — 2014-07-16T01:20:13Z
in order to support volatile access for memory mapped I/O.
Comment #1 by bugzilla — 2014-07-16T01:23:26Z
Comment #2 by bugzilla — 2014-07-16T06:47:43Z
See also: http://wiki.dlang.org/DIP20 Volatile read/write intrinsics http://wiki.dlang.org/DIP62 Volatile type qualifier for unoptimizable variables in embedded programming DIP20 is more or less what this peek/poke proposal does.
Comment #3 by github-bugzilla — 2014-07-20T23:39:28Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/366102264fdfd471dadac6409c00733f3a452bd3 Merge pull request #3773 from WalterBright/peek-poke fix Issue 13138 add peek/poke to core.bitop
Comment #4 by github-bugzilla — 2014-11-22T14:23:02Z
Commit pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/f9b55f723cb2a99a83a9e3937334e7c959f3b52b Merge pull request #892 from WalterBright/peek-poke fix Issue 13138 add peek/poke to core.bitop
Comment #5 by github-bugzilla — 2015-02-18T03:38:23Z