From 6e7a315eb67cb6c113cf37e1d66c4f11a51a2b3e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:29:51 +0200 Subject: Adding upstream version 2.06. Signed-off-by: Daniel Baumann --- asm-tests/arm.S | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 asm-tests/arm.S (limited to 'asm-tests/arm.S') diff --git a/asm-tests/arm.S b/asm-tests/arm.S new file mode 100644 index 0000000..97c2546 --- /dev/null +++ b/asm-tests/arm.S @@ -0,0 +1,20 @@ +/* on arm clang doesn't support .arch directive */ + + .text + .syntax unified + +#if !defined (__thumb2__) + .arch armv7a + .arm +#else + .arch armv7 + .thumb +#endif + mcr p15, 0, r11, c7, c14, 2 + + /* clang restricts access to dsb/isb despite .arch */ + dsb + isb + + + -- cgit v1.2.3