Open 44128753-b9b6-4faf-984b-690a6ca556cf opened 5 years ago
It's a pity...
But how about adrl? Will it be implemented in the near future?
That seems unlikely, I'm afraid. I don't know of anyone who considers pseudos outside the official architecture reference a priority.
Thank you! Sorry, it was my fault to not specifying right target or -mfpu!
I agree with your opinion about cpy.
But how about adrl? Will it be implemented in the near future?
VMRS and VMSR are giving an error because Clang defaults to an early CPU without an FPU for arm-linux-gnueabi. If you need them you should specify a CPU or architecture on the command-line (actually, you probably should anyway).
ADRL and CPY are non-standard pseudo-instructions. CPY is particularly pointless because it's just MOV under a different name. ADRL at least does something different. I doubt either will be a high priority, so you're probably better off changing the source.
Extended Description
Assembly instructions "adrl, cpy, vmrs, vmsr" don't supported by Clang. At the same time, they are supported by GCC.
Environment information: OS: Ubuntu 16.04.5 LTS GCC: arm-linux-gnueabihf-gcc (Linaro GCC 6.2-2016.11) 6.2.1 20161016 CLANG: clang version 8.0.0 (tags/RELEASE_800/final)
Usecase is attached to this report. Also it is duplicated below in this text:
adrl_cpy_vmrs_vmsr.s
adrl_cpy_vmrs_vmsr.sh
Result of "adrl_cpy_vmrs_vmsr.sh" execution: