aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/123 llvm ir and assembly/square-x86_64.S
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-08-03 01:37:46 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2019-08-03 02:29:44 +0300
commitf39600647d9fe95c91c80b0cc7e7a8c28524e778 (patch)
tree99f13e04856ec46b064bd0126de1a00b226914f5 /test cases/common/123 llvm ir and assembly/square-x86_64.S
parent2e6df380f15643630f984311d8ab9ec693aba223 (diff)
downloadmeson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.zip
meson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.tar.gz
meson-f39600647d9fe95c91c80b0cc7e7a8c28524e778.tar.bz2
Condense test directory names.
Diffstat (limited to 'test cases/common/123 llvm ir and assembly/square-x86_64.S')
-rw-r--r--test cases/common/123 llvm ir and assembly/square-x86_64.S37
1 files changed, 0 insertions, 37 deletions
diff --git a/test cases/common/123 llvm ir and assembly/square-x86_64.S b/test cases/common/123 llvm ir and assembly/square-x86_64.S
deleted file mode 100644
index 5678d00..0000000
--- a/test cases/common/123 llvm ir and assembly/square-x86_64.S
+++ /dev/null
@@ -1,37 +0,0 @@
-#include "symbol-underscore.h"
-
-#ifdef _MSC_VER /* MSVC on Windows */
-
-PUBLIC SYMBOL_NAME(square_unsigned)
-_TEXT SEGMENT
-
-SYMBOL_NAME(square_unsigned) PROC
- mov eax, ecx
- imul eax, eax
- ret
-SYMBOL_NAME(square_unsigned) ENDP
-
-_TEXT ENDS
-END
-
-#else
-
-.text
-.globl SYMBOL_NAME(square_unsigned)
-# ifdef __linux__
-.type square_unsigned, %function
-#endif
-
-# if defined(_WIN32) || defined(__CYGWIN__) /* msabi */
-SYMBOL_NAME(square_unsigned):
- imull %ecx, %ecx
- movl %ecx, %eax
- retq
-# else /* sysvabi */
-SYMBOL_NAME(square_unsigned):
- imull %edi, %edi
- movl %edi, %eax
- retq
-# endif
-
-#endif