🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6283

Re: Recent serial port lossage

#6283
From: Torbjorn Granlund
Date: Sun, 07 Jan 1996 00:00
14 lines
938 bytes
This is not a bug in GCC.

You need to refresh your understanding of what `volatile' means.  In
particular, it doesn't mean that statements that both read and write a
memory position are executed with the bus locked.

Also not that x86 processors will *not* perform statements like,

	orl $0x80000000,_foo

with the bus locked between the read and the write.  For that, you need to
prefix the `orl' with a `lock' instruction.

Torbjorn
Technical Details
Message-ID: <199601072253.XAA14549@insanus.matematik.su.se>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <199601072229.RAA28966@cs1.boston.deshaw.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,b3c82d44300e73ca,start
X-Google-Attributes: gid113d02,public
From: tege@matematik.su.se (Torbjorn Granlund)
Subject: Re: Recent serial port lossage
Date: 1996/01/07
Message-ID: <199601072253.XAA14549@insanus.matematik.su.se>
X-Deja-AN: 134699058
distribution: gnu
sender: daemon@cis.ohio-state.edu
references: <199601072229.RAA28966@cs1.boston.deshaw.com>
organization: GNUs Not Usenet
newsgroups: gnu.gcc.bug