From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- .../common/118 llvm ir and assembly/square-arm.S | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meson/test cases/common/118 llvm ir and assembly/square-arm.S (limited to 'meson/test cases/common/118 llvm ir and assembly/square-arm.S') diff --git a/meson/test cases/common/118 llvm ir and assembly/square-arm.S b/meson/test cases/common/118 llvm ir and assembly/square-arm.S new file mode 100644 index 000000000..aea3f1f61 --- /dev/null +++ b/meson/test cases/common/118 llvm ir and assembly/square-arm.S @@ -0,0 +1,29 @@ +#include "symbol-underscore.h" + +#ifdef _MSC_VER + + AREA _TEXT, ARM, CODE, READONLY + + EXPORT SYMBOL_NAME(square_unsigned) +SYMBOL_NAME(square_unsigned) PROC + mul r1, r0, r0 + mov r0, r1 + mov pc, lr +SYMBOL_NAME(square_unsigned) ENDP + + END + +#else + +.text +.globl SYMBOL_NAME(square_unsigned) +# ifdef __linux__ +.type square_unsigned, %function +#endif + +SYMBOL_NAME(square_unsigned): + mul r1, r0, r0 + mov r0, r1 + mov pc, lr + +#endif -- cgit 1.2.3-korg