fabsl.asm revision 4db428018b0a098eec7231fc88b688d70b814933
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; $Id$
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync;; @file
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; IPRT - No-CRT fabsl - AMD64 & X86.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; Copyright (C) 2006-2010 Oracle Corporation
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; This file is part of VirtualBox Open Source Edition (OSE), as
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; available from http://www.virtualbox.org. This file is free software;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; you can redistribute it and/or modify it under the terms of the GNU
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; General Public License (GPL) as published by the Free Software
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; Foundation, in version 2 as it comes in the "COPYING" file of the
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; The contents of this file may alternatively be used under the terms
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; of the Common Development and Distribution License Version 1.0
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; VirtualBox OSE distribution, in which case the provisions of the
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; CDDL are applicable instead of those of the GPL.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; You may elect to license modified versions of this file under the
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; terms and conditions of either the GPL or the CDDL or both.
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync%include "iprt/asmdefs.mac"
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncBEGINCODE
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync;;
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; Compute the absolute value of lrd (|lrd|).
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; @returns st(0)
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync; @param lrd [xSP + xCB*2]
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncBEGINPROC RT_NOCRT(fabsl)
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync push xBP
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync mov xBP, xSP
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync fld tword [xBP + xCB*2]
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync fabs
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync.done:
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync leave
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync ret
deb4998ba50060c48cce222fd18a8eed053918d7vboxsyncENDPROC RT_NOCRT(fabsl)
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync
deb4998ba50060c48cce222fd18a8eed053918d7vboxsync