armr5-none-eabi-gcc compiler
Asked by
Yun Qu
I used the following flag to compile my code on cortex R5F. armr5 compiler is of version 4.8.4.
CFLAGS_CORTEX_R5 = -static -mlittle-endian -mcpu=cortex-r5 -mfloat-abi=softfp -mfpu=vfpv3-d16 -fsingle-
Notice that I have used vfpv3-d16 option, so I should use at most 16 double precision floating point registers (d0 - d15), which is supported on this ARM core.
However, when I check the binaries, it seems that there are still a lot of codes using d16, d21, etc. For example:
vmulvs.f64 d2, d0, d16
...
vfmacc.f64 d21, d12, d12
...
This should not happen for the option I used. Why?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Yun Qu
- Solved:
- Last query:
- Last reply:
To post a message you must log in.