Some compilers (namely LLVM) are not happy with clobbering registers in inline assembly. Use $at as temporary register and explicitly use noat hint. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
It's safer and easier than SIGILL. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
1. Using core loongson3r3 and loongson3r4 for loongson 2. Add DYNAMIC_ARCH for loongson Change-Id: I1c6b54dbeca3a0cc31d1222af36a7e9bd6ab54c1