I want to avoid using implementation dependent ARM instructions , like BFI and BFC. Is three an option to instruct the compiler do the same? I am using TI Compiler v20.2.0.LTS?
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.
I want to avoid using implementation dependent ARM instructions , like BFI and BFC. Is three an option to instruct the compiler do the same? I am using TI Compiler v20.2.0.LTS?
Yogesh,
It is not possible to specify a list of instructions for the compiler to avoid. However what you can do is specify the processor architecture that the compiler should generate instructions for.
This is done in the "Processor options" section of the build options.
If you are looking to run the code on 2 different devices you would need to select the options that generate instructions that are compatible with both.
Regards,
John
Regards,
John
There is no compiler option to disable generation of instructions like BFI and BFC.
Does this mean, all the TI processors must implement all the non-float instructions defined in the ISR?
Yogesh,
What device are you using? I want to direct this thread to the appropriate product line to continue as this is not a question for the compiler team at this point.
TI licenses cores from Arm Ltd and includes them in devices. The instruction set of that core is defined by Arm.
Regards,
John