Deleted Added
full compact
s_floor.S (213337) s_floor.S (217108)
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

--- 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) 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

--- 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_floor.S 213337 2010-10-01 20:14:36Z dim $")
37__FBSDID("$FreeBSD: head/lib/msun/i387/s_floor.S 217108 2011-01-07 16:13:12Z kib $")
38
39ENTRY(floor)
40 pushl %ebp
41 movl %esp,%ebp
42 subl $8,%esp
43
44 fstcw -4(%ebp) /* store fpu control word */
45 movw -4(%ebp),%dx

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

51 fldl 8(%ebp); /* round */
52 frndint
53
54 fldcw -4(%ebp) /* restore original control word */
55
56 leave
57 ret
58END(floor)
38
39ENTRY(floor)
40 pushl %ebp
41 movl %esp,%ebp
42 subl $8,%esp
43
44 fstcw -4(%ebp) /* store fpu control word */
45 movw -4(%ebp),%dx

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

51 fldl 8(%ebp); /* round */
52 frndint
53
54 fldcw -4(%ebp) /* restore original control word */
55
56 leave
57 ret
58END(floor)
59
60 .section .note.GNU-stack,"",%progbits