Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Side by Side Diff: sysdeps/i386/fpu/s_trunc.S

Issue 3539003: Fix up RET instructions in sysdeps/i386/fpu (Closed) Base URL: ssh://gitrw.chromium.org/nacl-glibc
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sysdeps/i386/fpu/s_tanl.S ('k') | sysdeps/i386/fpu/s_truncf.S » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Truncate double value. 1 /* Truncate double value.
2 Copyright (C) 1997 Free Software Foundation, Inc. 2 Copyright (C) 1997 Free Software Foundation, Inc.
3 This file is part of the GNU C Library. 3 This file is part of the GNU C Library.
4 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. 4 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
5 5
6 The GNU C Library is free software; you can redistribute it and/or 6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public 7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either 8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version. 9 version 2.1 of the License, or (at your option) any later version.
10 10
(...skipping 13 matching lines...) Expand all
24 fldl 4(%esp) 24 fldl 4(%esp)
25 subl $8, %esp 25 subl $8, %esp
26 fstcw 4(%esp) 26 fstcw 4(%esp)
27 movl $0xc00, %edx 27 movl $0xc00, %edx
28 orl 4(%esp), %edx 28 orl 4(%esp), %edx
29 movl %edx, (%esp) 29 movl %edx, (%esp)
30 fldcw (%esp) 30 fldcw (%esp)
31 frndint 31 frndint
32 fldcw 4(%esp) 32 fldcw 4(%esp)
33 addl $8, %esp 33 addl $8, %esp
34 » ret 34 » NACLRET
35 END(__trunc) 35 END(__trunc)
36 weak_alias (__trunc, trunc) 36 weak_alias (__trunc, trunc)
OLDNEW
« no previous file with comments | « sysdeps/i386/fpu/s_tanl.S ('k') | sysdeps/i386/fpu/s_truncf.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698