Rationalize -mcpu for emulators, compilers and assemblers on ARM

Move SVE example in from arm-assembly-cheat.

atomic.cpp aarch64 add LSE ldadd placeholder, not compiling yet
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-06-26 00:00:00 +00:00
parent ce3d546ac8
commit 3fdd83c2c5
8 changed files with 168 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#cmpxchg-instruction */
/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-cmpxchg-instruction */
#include <lkmc.h>
@@ -24,5 +24,4 @@ LKMC_PROLOGUE
LKMC_ASSERT_EQ(%rax, $0)
LKMC_ASSERT_EQ(%r13, $2)
LKMC_ASSERT_EQ(%r14, $2)
LKMC_EPILOGUE