diff options
Diffstat (limited to 'src/debug/di/amd64/FloatConversion.asm')
-rw-r--r-- | src/debug/di/amd64/FloatConversion.asm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/debug/di/amd64/FloatConversion.asm b/src/debug/di/amd64/FloatConversion.asm new file mode 100644 index 0000000000..0de4a89bb4 --- /dev/null +++ b/src/debug/di/amd64/FloatConversion.asm @@ -0,0 +1,26 @@ +; 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. + +;// ==++== +;// + +;// +;// ==--== + +;// @dbgtodo Microsoft inspection: remove the implementation from vm\amd64\getstate.asm when we remove the +;// ipc event to load the float state. + +;// this is the same implementation as the function of the same name in vm\amd64\getstate.asm and they must +;// remain in sync. +;// Arguments +;// input: (in rcx) the M128 value to be converted to a double +;// output: the double corresponding to the M128 input value + +_TEXT segment para 'CODE' +FPFillR8 proc + movdqa xmm0, [rcx] + ret +FPFillR8 endp + +END |