Issue 13138 - add peek/poke as compiler intrinsics
Summary: add peek/poke as compiler intrinsics
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 01:20 UTC by Walter Bright
Modified: 2015-02-18 03:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2014-07-16 01:20:13 UTC
in order to support volatile access for memory mapped I/O.
Comment 2 Walter Bright 2014-07-16 06:47:43 UTC
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 github-bugzilla 2014-07-20 23:39:28 UTC
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 github-bugzilla 2014-11-22 14:23:02 UTC
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 github-bugzilla 2015-02-18 03:38:23 UTC
Commit pushed to 2.067 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