This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimization/clarity coding : what is gcc able to do for me ?


>>>>> "Joe" == Joe Buck <Joe.Buck@synopsys.COM> writes:

 Joe> ....  Pointer accesses are atomic on every machine
 Joe> that I know of, though I am not certain that the language
 Joe> standard guarantees this.

They wouldn't be atomic on MIPS if the pointer (the thing itself, not
what it points to) is misaligned, because then it takes two
instructions to fetch or store it.

     paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]