diff options
-rw-r--r-- | test cases/common/119 llvm ir and assembly/square-aarch64.S | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test cases/common/119 llvm ir and assembly/square-aarch64.S b/test cases/common/119 llvm ir and assembly/square-aarch64.S index ebe74e7..02f1a12 100644 --- a/test cases/common/119 llvm ir and assembly/square-aarch64.S +++ b/test cases/common/119 llvm ir and assembly/square-aarch64.S @@ -15,6 +15,15 @@ SYMBOL_NAME(square_unsigned) ENDP #else -#error gas syntax assembly for this test needs to be written +.text +.globl SYMBOL_NAME(square_unsigned) +# ifdef __linux__ +.type square_unsigned, %function +#endif + +SYMBOL_NAME(square_unsigned): + mul x1, x0, x0 + mov x0, x1 + ret #endif |