
12 Feb
2014
12 Feb
'14
4:51 p.m.
Dear Tom,
In message 20140212142536.GA15819@bill-the-cat you wrote:
No. The solution is to tell the compiler which optimizations it can, and cannot use. If we stop telling it that native unaligned accesses work it won't decide to make use of those optimizations.
Can we do this in such a way that we can be absolutely sure that the compiler will never break up larger (say 32 bit) accesses into smaller (say, 2 x 16 bit or 4 x 8 bit or similar) accesses?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A wise person makes his own decisions, a weak one obeys public
opinion. -- Chinese proverb