Deleted Added
full compact
s_copysign.S (50476) s_copysign.S (192760)
1/*
2 * Copyright (c) 1993,94 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

--- 21 unchanged lines hidden (view full) ---

30
31/*
32 * Written by:
33 * J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc.
34 */
35
36#include <machine/asm.h>
37
1/*
2 * Copyright (c) 1993,94 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

--- 21 unchanged lines hidden (view full) ---

30
31/*
32 * Written by:
33 * J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc.
34 */
35
36#include <machine/asm.h>
37
38RCSID("$FreeBSD: head/lib/msun/i387/s_copysign.S 50476 1999-08-28 00:22:10Z peter $")
38RCSID("$FreeBSD: head/lib/msun/i387/s_copysign.S 192760 2009-05-25 14:37:10Z attilio $")
39
40ENTRY(copysign)
41 movl 16(%esp),%edx
42 andl $0x80000000,%edx
43 movl 8(%esp),%eax
44 andl $0x7fffffff,%eax
45 orl %edx,%eax
46 movl %eax,8(%esp)
47 fldl 4(%esp)
48 ret
39
40ENTRY(copysign)
41 movl 16(%esp),%edx
42 andl $0x80000000,%edx
43 movl 8(%esp),%eax
44 andl $0x7fffffff,%eax
45 orl %edx,%eax
46 movl %eax,8(%esp)
47 fldl 4(%esp)
48 ret
49END(copysign)