This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS320C6746: Limit register usage?

Part Number: TMS320C6746


Tool/software: TI C/C++ Compiler

Team,

A customer of mine has implemented their own scheduler. For task switching they need to preserve all registers, which takes some time for all 64 registers. Is it possible to limit the compiler register usage only to 32 registers (A0-15, B0-15)?

The customer is using the -mv6740 option to make use of the C674x features. This also enables usage of all 64 registers. They want to keep the C674x features, but avoid the additional 32 registers.

Thanks,
  Robert