I am trying to compile "mrc" and "mcr" instruction on AARCH64 based on Board but I am seeing below error message
tmp/ccqOHmrK.s: Assembler messages:
/tmp/ccqOHmrK.s:43: Error: unknown mnemonic `mrc' -- `mrc p15,0,x0,c14,c3,1'
/tmp/ccqOHmrK.s:53: Error: unknown mnemonic `mrc' -- `mrc p15,0,x2,c14,c3,0'
I tried looking into the kernel source /arch/arm64 but no where mcr&&mrc has been used without emulation.
Is it some syntax issue?