H1 2015 Priorities and Bare-Metal Programming

Manu via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 2 06:58:42 PST 2015


On 2 February 2015 at 20:57, Walter Bright via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On 2/2/2015 1:39 AM, Johannes Pfau wrote:


>>> * You do need force-inline to produce halfway decent code
>
>
> Nope. volatileLoad() and volatileStore() do not produce function calls.

They need to be wrapped to be useful, and in this case, the wrapping
should not result in function calls either. I have the same problem
with simd intrinsics.
Intrinsics are useless if they are to be wrapped by a function call to
use them in a practical way.


More information about the Digitalmars-d mailing list