Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Add arm64 floatconversion.S (#25597)
Browse files Browse the repository at this point in the history
* Add arm64 floatconversion.S

* Update comment
  • Loading branch information
sdmaclea authored Jul 8, 2019
1 parent b3ba9b8 commit 8749c01
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/debug/di/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ if(WIN32)
elseif(CLR_CMAKE_PLATFORM_UNIX)
add_compile_options(-fPIC)

if(CLR_CMAKE_TARGET_ARCH_AMD64 OR CLR_CMAKE_TARGET_ARCH_ARM)
if(CLR_CMAKE_TARGET_ARCH_AMD64 OR CLR_CMAKE_TARGET_ARCH_ARM64 OR CLR_CMAKE_TARGET_ARCH_ARM)
set(CORDBDI_SOURCES_ASM_FILE
${ARCH_SOURCES_DIR}/floatconversion.S
)
Expand Down
14 changes: 14 additions & 0 deletions src/debug/di/arm64/floatconversion.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#include <unixasmmacros.inc>

// Arguments
// input: (in X0) the _NEON128 value to be converted to a double
// output: the double corresponding to the _NEON128 input value

LEAF_ENTRY FPFillR8, .TEXT
LDR Q0, [X0]
ret lr
LEAF_END FPFillR8, .TEXT

0 comments on commit 8749c01

Please sign in to comment.