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

can coprocessor instruction be produced by compiler from c code

Note: This was originally posted on 18th April 2013 at http://forums.arm.com

can accessing coprocessor instruction be produced by compiler from c code?

except float point instructions?

such like drain write buffer instruction?

any docs describe detail of this?
Parents
  • Note: This was originally posted on 19th April 2013 at http://forums.arm.com

    i know this feature, named register.

    i mean compiler translate c code to arm instructions. except this extension of c code added by specific compiler, can normal c code produce instructions like 'MCR'?

    etc, we write
    int a;
    int b;
    int c=a+b;

    this will translate to load and modify instructions.  or we can use hard-float to control translate to float instructions.

    how we can control coprocessor instructions produced from normall C code express?

    i think usually c code is used for moving data, so may not produce control instructions, is this right? any theory?
Reply
  • Note: This was originally posted on 19th April 2013 at http://forums.arm.com

    i know this feature, named register.

    i mean compiler translate c code to arm instructions. except this extension of c code added by specific compiler, can normal c code produce instructions like 'MCR'?

    etc, we write
    int a;
    int b;
    int c=a+b;

    this will translate to load and modify instructions.  or we can use hard-float to control translate to float instructions.

    how we can control coprocessor instructions produced from normall C code express?

    i think usually c code is used for moving data, so may not produce control instructions, is this right? any theory?
Children
No data