Experimental Physics and
| |||||||||||||||||
|
have vou tried this: static void copy4 (int *p, volatile int *q, int n) I always declare any pointer to hardware volatile to prevent the compliler from trying funny things. BTW: I can't reproduce you assember code with neither gcc-2.8.1 on Tornado 1.0.1 nor with gcc-2.96 on Tornado 2.2. I always get word instructions, not byte instructions. Dirk Laznovsky, Michael wrote: Hi- does anyone know why our power-pc compiler likes to turn short & int pointer dereferences into byte moves, and how to get it to not to? Some hardware may not like this, as suggested by bus analyzer.
| ||||||||||||||||
ANJ, 10 Aug 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |