⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e_powl.s

📁 Glibc 2.3.2源代码(解压后有100多M)
💻 S
字号:
/* ix87 specific implementation of pow function.   Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.   This file is part of the GNU C Library.   Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.   The GNU C Library is free software; you can redistribute it and/or   modify it under the terms of the GNU Lesser General Public   License as published by the Free Software Foundation; either   version 2.1 of the License, or (at your option) any later version.   The GNU C Library is distributed in the hope that it will be useful,   but WITHOUT ANY WARRANTY; without even the implied warranty of   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   Lesser General Public License for more details.   You should have received a copy of the GNU Lesser General Public   License along with the GNU C Library; if not, write to the Free   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA   02111-1307 USA.  */#include <machine/asm.h>#ifdef __ELF__	.section .rodata#else	.text#endif	.align ALIGNARG(4)	ASM_TYPE_DIRECTIVE(infinity,@object)inf_zero:infinity:	.byte 0, 0, 0, 0, 0, 0, 0xf0, 0x7f	ASM_SIZE_DIRECTIVE(infinity)	ASM_TYPE_DIRECTIVE(zero,@object)zero:	.double 0.0	ASM_SIZE_DIRECTIVE(zero)	ASM_TYPE_DIRECTIVE(minf_mzero,@object)minf_mzero:minfinity:	.byte 0, 0, 0, 0, 0, 0, 0xf0, 0xffmzero:	.byte 0, 0, 0, 0, 0, 0, 0, 0x80	ASM_SIZE_DIRECTIVE(minf_mzero)	ASM_TYPE_DIRECTIVE(one,@object)one:	.double 1.0	ASM_SIZE_DIRECTIVE(one)	ASM_TYPE_DIRECTIVE(limit,@object)limit:	.double 0.29	ASM_SIZE_DIRECTIVE(limit)#ifdef PIC#define MO(op) op##(%rip)#else#define MO(op) op#endif	.textENTRY(__ieee754_powl)	fldt	24(%rsp)	// y	fxam	fnstsw	movb	%ah, %dl	andb	$0x45, %ah	cmpb	$0x40, %ah	// is y == 0 ?	je	11f	cmpb	$0x05, %ah	// is y == 眎nf ?	je	12f	cmpb	$0x01, %ah	// is y == NaN ?	je	30f	fldt	8(%rsp)		// x : y	fxam	fnstsw	movb	%ah, %dh	andb	$0x45, %ah	cmpb	$0x40, %ah	je	20f		// x is 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -