From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <12eeeb06c64e4553fb6eb85500c8f623@vitanuova.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] how to avoid a memset() optimization From: C H Forsyth MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Wed, 13 Nov 2002 10:43:40 +0000 Topicbox-Message-UUID: 1cacf89c-eacb-11e9-9e20-41e7f4b1d025 >>No, it mens "compiler, the access must really be >>performed". It is the programmer who decides whether >>that is a requirement, and it could be for numerous >>reasons, such as to assist in debugging, because the "location" is a portal to an external device register, >>because the object is shared among threads, etc. In >>this particular case it would be because the programmer >>really wants the memory overwrite to occur regardless >>of whether it is used any further. so, in the case of memset applied to such a thing, are those accesses that `must really be performed' byte accesses, word accesses, quadword?