[Info-vax] Volatile, was: Re: yet another sys$qiow question

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Thu Aug 20 09:42:31 EDT 2015


In article <mr4j0a$8ua$1 at dont-email.me>, Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2015-08-19, VAXman-  @SendSpamHere.ORG <VAXman- at SendSpamHere.ORG> wrote:
>>
>>     sp = (void *)asm("bis %r29,%r31,%r0;");	// get FP address                        
>
>It doesn't apply here because you are using the output from the asm()
>insert, but if you use an asm() insert in gcc that doesn't have any
>obvious side effects, then the gcc optimiser can remove the asm insert.

Who said anything about 'gcc'?


-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list