|
From: <ps...@ic...> - 2003-08-14 12:49:24
|
this is true however, our datasheet lists it as undefined-behavior, so to be safe i am assuming that undefined-behavior = worst-behavior-imaginable in any case i do actually have a suspicion that it corrupts the cache on this processor - so i want to rule this out the valgrind way. :-) -paul > In message <E19...@sc...> > ps...@ic... wrote: > > > However, the target platform (ARM) does not allow > > non-aligned short and int accesses. It also does not show > > up the error - the result of non-aligned access is cache > > corruption (ouch). > > I don't believe that the ARM will corrupt the cache if you do an > unaligned access but what it will do is load a wierd rotated value > that you won't be expecting. The behaviour is well defined, if a > little on the odd side, and truly sick people have been known to > write code that relies on it ;-) > > Tom > > -- > Tom Hughes (th...@cy...) > Software Engineer, Cyberscience Corporation > http://www.cyberscience.com/ > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users --------------------------------------------- This message was sent using World Mail. http://www.worldonline.co.za |