aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/127 generated assembly/square-arm.S.in
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/test cases/common/127 generated assembly/square-arm.S.in
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/test cases/common/127 generated assembly/square-arm.S.in')
-rw-r--r--meson/test cases/common/127 generated assembly/square-arm.S.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/common/127 generated assembly/square-arm.S.in b/meson/test cases/common/127 generated assembly/square-arm.S.in
new file mode 100644
index 000000000..d2fb7ac20
--- /dev/null
+++ b/meson/test cases/common/127 generated assembly/square-arm.S.in
@@ -0,0 +1,13 @@
+#include "symbol-underscore.h"
+
+.text
+.globl SYMBOL_NAME(square_unsigned)
+/* Only supported with GAS */
+# if defined(__linux__) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)
+.type square_unsigned,%function
+#endif
+
+SYMBOL_NAME(square_unsigned):
+ mul r1, r0, r0
+ mov r0, r1
+ mov pc, lr