From: Shark8 <onewingedshark@gmail.com>
Subject: Re: avoiding builtin memset
Date: Tue, 25 Apr 2017 11:43:06 -0700 (PDT)
Date: 2017-04-25T11:43:06-07:00 [thread overview]
Message-ID: <8d61281f-e908-4965-a7f4-1e0d4b57c967@googlegroups.com> (raw)
In-Reply-To: <987550450.514781782.903623.laguest-archeia.com@nntp.aioe.org>
On Monday, April 24, 2017 at 8:57:10 PM UTC-6, Luke A. Guest wrote:
> Anh Vo wrote:
> >
> > It is very nice. Indeed, it is compact and readable piece of code.
> >
> > Anh Vo
Thank you.
>
> You'll need to export that as the C memset function.
Even if you're only using it in Ada functions?
Also, I suppose you could also add Pragma Inspection_Point(Element) inside the loop [at the end] and Pragma Inspection_Point(Memory) just before "end Memset;" to ensure that there's no optimization to a single/internal memset call.
next prev parent reply other threads:[~2017-04-25 18:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-24 16:06 avoiding builtin memset Jere
2017-04-24 16:56 ` Shark8
2017-04-25 1:21 ` Anh Vo
2017-04-25 2:57 ` Luke A. Guest
2017-04-25 18:43 ` Shark8 [this message]
2017-04-25 22:18 ` Luke A. Guest
2017-04-26 7:35 ` Simon Wright
2017-04-26 13:44 ` Lucretia
2017-04-26 15:22 ` Simon Wright
2017-04-27 0:22 ` Jere
2017-04-27 4:35 ` J-P. Rosen
2017-04-27 7:09 ` Simon Wright
2017-05-24 15:08 ` Frédéric PRACA
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox