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

OMAP3: encountered a blocking structure assignment, occurring only on OMAP3 processors

Parents
  • Note: This was originally posted on 29th July 2012 at http://forums.arm.com

    I've not looked in much detail, but as a thought, your code may not be compliant with the C++ standard; are you sure that "(m_buffer->bb + offs)" meets the alignment requirements of a "c_t"/"a_t" structure? It could be that the compiler is legally assuming a certain alignment for the structure copy and is using instructions which turn out to be incompatible with the alignment produced by your cast from a char array pointer.

    hth
    s.
Reply
  • Note: This was originally posted on 29th July 2012 at http://forums.arm.com

    I've not looked in much detail, but as a thought, your code may not be compliant with the C++ standard; are you sure that "(m_buffer->bb + offs)" meets the alignment requirements of a "c_t"/"a_t" structure? It could be that the compiler is legally assuming a certain alignment for the structure copy and is using instructions which turn out to be incompatible with the alignment produced by your cast from a char array pointer.

    hth
    s.
Children
No data