This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ZI optimization?

I came accross this statement in the compiler documentation "In ARM Compiler 4.1 and later, the compiler might place small global ZI data items in RW data sections as an optimization.". Can anyone explain what the optimization is?

see here: ARM Information Center

Parents
  • Hi Ken,

    Thanks for the link, I hadn't found this when seraching the site (can't beleive I didn't find it!)

    What I'm trying to work out is how is the ZI data located in the RW section initialised? Are 0's stored in the RW ROM area is it it doing something clever to 0 those specific ZI data items?

    Cheers,

    Niall.

Reply
  • Hi Ken,

    Thanks for the link, I hadn't found this when seraching the site (can't beleive I didn't find it!)

    What I'm trying to work out is how is the ZI data located in the RW section initialised? Are 0's stored in the RW ROM area is it it doing something clever to 0 those specific ZI data items?

    Cheers,

    Niall.

Children