Skip to content

Commit

Permalink
* sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text.
Browse files Browse the repository at this point in the history
	* sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise.
	(signmask): Add .size directive.
	(othermask): Add .type directive.
  • Loading branch information
Ulrich Drepper committed Nov 16, 2006
1 parent 3f1e920 commit b1f0c2a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2006-11-16 Jakub Jelinek <jakub@redhat.com>

* sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text.
* sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise.
(signmask): Add .size directive.
(othermask): Add .type directive.

2006-11-14 Ulrich Drepper <drepper@redhat.com>

* po/nl.po: Update from translation team.
Expand Down
5 changes: 4 additions & 1 deletion sysdeps/x86_64/fpu/s_copysign.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* copy sign, double version.
Copyright (C) 2002 Free Software Foundation, Inc.
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2002.
Expand Down Expand Up @@ -31,6 +31,8 @@
signmask:
.byte 0, 0, 0, 0, 0, 0, 0, 0x80
.byte 0, 0, 0, 0, 0, 0, 0, 0
ASM_SIZE_DIRECTIVE(signmask)
ASM_TYPE_DIRECTIVE(othermask,@object)
othermask:
.byte 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f
.byte 0, 0, 0, 0, 0, 0, 0, 0
Expand All @@ -42,6 +44,7 @@ othermask:
#define MO(op) op
#endif

.text
ENTRY(__copysign)
andpd MO(othermask),%xmm0
andpd MO(signmask),%xmm1
Expand Down
3 changes: 2 additions & 1 deletion sysdeps/x86_64/fpu/s_copysignf.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* copy sign, double version.
Copyright (C) 2002 Free Software Foundation, Inc.
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Jaeger <aj@suse.de>, 2002.
Expand Down Expand Up @@ -38,6 +38,7 @@ mask:
#define MO(op) op
#endif

.text
ENTRY(__copysignf)
movss MO(mask),%xmm3
andps %xmm3,%xmm0
Expand Down

0 comments on commit b1f0c2a

Please sign in to comment.