• How to prevent OT 8 from generating an LJMP
    If Optimize 8 (Reuse Common Entry Code) detects void MyFunc() as the last statement within void OuterFunc() (for example), it will produce an LJMP to MyFunc() rather than an LCALL. (see examples) Nice...
  • How to prevent OT 8 from generating an LJMP
    If Optimize 8 (Reuse Common Entry Code) detects void MyFunc() as the last statement within void OuterFunc() (for example), it will produce an LJMP to MyFunc() rather than an LCALL. (see examples) Nice...
  • Is there a way to prevent the C compiler from generating ldrd instructions (which assume 64-bit alignment)
    I'm using the GCC compiler to load packed 16-bit data (i.e. two 16-bit words in a 32-bit value). My pointer is to a 32-bit type because I want to load two 16-bit values in a single cycle but the pointer...
  • Is there a way to prevent the C compiler from generating ldrd instructions (which assume 64-bit alignment)
    I'm using the GCC compiler to load packed 16-bit data (i.e. two 16-bit words in a 32-bit value). My pointer is to a 32-bit type because I want to load two 16-bit values in a single cycle but the pointer...
  • Prevent cpplib from being included
    Hello, I'm trying to compile a C app as C++, but it doesn't run. I looked at the .s files, and one difference with the C++ compilation is the line: IMPORT ||Lib$$Request$$cpplib|| [CODE,WEAK...