This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch release/2.18/master updated. glibc-2.18-12-g0553c66


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.18/master has been updated
       via  0553c6642be2cdf6bac776fac5fd50164cb28709 (commit)
      from  a244697f97107af77f26eb7e4dfc4538c7e68b27 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=0553c6642be2cdf6bac776fac5fd50164cb28709

commit 0553c6642be2cdf6bac776fac5fd50164cb28709
Author: Marcus Shawcroft <marcus.shawcroft@linaro.org>
Date:   Tue Jan 7 16:16:35 2014 +0000

    [AArch64] Fix FP_ROUNDMODE.
    
    [BZ #16387] Fix FP_ROUNDMODE to extract the correct bits from FPCR.
    
    Conflicts:
    	NEWS

diff --git a/NEWS b/NEWS
index 29856cc..2e8bb16 100644
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,7 @@ Version 2.18.1
 
 * The following bugs are resolved with this release:
 
-  15073, 15128, 15909, 15996, 16150.
+  15073, 15128, 15909, 15996, 16150, 16387.
 
 Version 2.18
 
diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index 89cc504..ce2fd5c 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,5 +1,12 @@
 2014-01-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 
+	[BZ #16387]
+	* sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_RM_MASK): Define.
+	* sysdeps/aarch64/soft-fp/sfp-machine.h (FP_ROUNDMODE): Adjust
+	rounding mode mask.
+
+2014-01-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
+
 	* sysdeps/aarch64/dl-trampoline.S (_dl_runtime_resolve): Correct
 	cfi_adjust_cfa_offset offset.
 
diff --git a/ports/sysdeps/aarch64/fpu/fpu_control.h b/ports/sysdeps/aarch64/fpu/fpu_control.h
index 89ff7e1..3705926 100644
--- a/ports/sysdeps/aarch64/fpu/fpu_control.h
+++ b/ports/sysdeps/aarch64/fpu/fpu_control.h
@@ -59,6 +59,9 @@
                    E E D D
                        E E
  */
+
+#define _FPU_FPCR_RM_MASK  0xc00000
+
 #define _FPU_FPCR_MASK_IXE 0x1000
 #define _FPU_FPCR_MASK_UFE 0x0800
 #define _FPU_FPCR_MASK_OFE 0x0400
diff --git a/ports/sysdeps/aarch64/soft-fp/sfp-machine.h b/ports/sysdeps/aarch64/soft-fp/sfp-machine.h
index d21d00a..9bb94e5 100644
--- a/ports/sysdeps/aarch64/soft-fp/sfp-machine.h
+++ b/ports/sysdeps/aarch64/soft-fp/sfp-machine.h
@@ -47,7 +47,7 @@
 
 #define _FP_DECL_EX		fpu_control_t _fcw
 
-#define FP_ROUNDMODE		(_fcw & 0x3)
+#define FP_ROUNDMODE		(_fcw & _FPU_FPCR_RM_MASK)
 
 #define FP_RND_NEAREST		FE_TONEAREST
 #define FP_RND_ZERO		FE_TOWARDZERO

-----------------------------------------------------------------------

Summary of changes:
 NEWS                                        |    2 +-
 ports/ChangeLog.aarch64                     |    7 +++++++
 ports/sysdeps/aarch64/fpu/fpu_control.h     |    3 +++
 ports/sysdeps/aarch64/soft-fp/sfp-machine.h |    2 +-
 4 files changed, 12 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]