s_cos.S (213337) | s_cos.S (217108) |
---|---|
1/* 2 * Copyright (c) 1994 Winning Strategies, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 */ 30 31/* 32 * Written by: 33 * J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc. 34 */ 35 36#include <machine/asm.h> | 1/* 2 * Copyright (c) 1994 Winning Strategies, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 */ 30 31/* 32 * Written by: 33 * J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc. 34 */ 35 36#include <machine/asm.h> |
37__FBSDID("$FreeBSD: head/lib/msun/i387/s_cos.S 213337 2010-10-01 20:14:36Z dim $") | 37__FBSDID("$FreeBSD: head/lib/msun/i387/s_cos.S 217108 2011-01-07 16:13:12Z kib $") |
38 39ENTRY(cos) 40 fldl 4(%esp) 41 fcos 42 fnstsw %ax 43 andw $0x400,%ax 44 jnz 1f 45 ret 461: fldpi 47 fadd %st(0) 48 fxch %st(1) 492: fprem1 50 fnstsw %ax 51 andw $0x400,%ax 52 jnz 2b 53 fstp %st(1) 54 fcos 55 ret 56END(cos) | 38 39ENTRY(cos) 40 fldl 4(%esp) 41 fcos 42 fnstsw %ax 43 andw $0x400,%ax 44 jnz 1f 45 ret 461: fldpi 47 fadd %st(0) 48 fxch %st(1) 492: fprem1 50 fnstsw %ax 51 andw $0x400,%ax 52 jnz 2b 53 fstp %st(1) 54 fcos 55 ret 56END(cos) |
57 58 .section .note.GNU-stack,"",%progbits |
|