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

Paul Koning pkoning@equallogic.com
Mon Jan 17 17:16:00 GMT 2005


>>>>> "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



More information about the Gcc mailing list