summaryrefslogtreecommitdiff
path: root/libcilkrts
diff options
context:
space:
mode:
authorienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-09 10:12:34 +0000
committerienkovich <ienkovich@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-09 10:12:34 +0000
commit405a4bda4d86b0ab5db0416cece2be64cd1d3f5a (patch)
tree7d7578de51d582e5680aa37949c88dd36dc95224 /libcilkrts
parent716c563bcef8bb91dee230dbc75abff70ed2f6ae (diff)
downloadgcc-405a4bda4d86b0ab5db0416cece2be64cd1d3f5a.tar.gz
libcilkrts/
2015-11-09 Igor Zamyatin <igor.zamyatin@intel.com> PR target/66326 * runtime/config/x86/os-unix-sysdep.c (sysdep_save_fp_ctrl_state): Use fnstcw instead fnstsw. gcc/testsuite 2015-11-09 Igor Zamyatin <igor.zamyatin@intel.com> PR target/66326 * g++.dg/cilk-plus/CK/pr66326.cc: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230008 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcilkrts')
-rw-r--r--libcilkrts/ChangeLog6
-rw-r--r--libcilkrts/runtime/config/x86/os-unix-sysdep.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/libcilkrts/ChangeLog b/libcilkrts/ChangeLog
index 903f7a5a618..ed26a3a1e1b 100644
--- a/libcilkrts/ChangeLog
+++ b/libcilkrts/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-09 Igor Zamyatin <igor.zamyatin@intel.com>
+
+ PR target/66326
+ * runtime/config/x86/os-unix-sysdep.c (sysdep_save_fp_ctrl_state):
+ Use fnstcw instead fnstsw.
+
2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
* Makefile.in: Regenerated with automake-1.11.6.
diff --git a/libcilkrts/runtime/config/x86/os-unix-sysdep.c b/libcilkrts/runtime/config/x86/os-unix-sysdep.c
index b505ddfb96f..cbc77343215 100644
--- a/libcilkrts/runtime/config/x86/os-unix-sysdep.c
+++ b/libcilkrts/runtime/config/x86/os-unix-sysdep.c
@@ -135,7 +135,7 @@ void sysdep_save_fp_ctrl_state(__cilkrts_stack_frame *sf)
{
__asm__ ("stmxcsr %0" : "=m" (sf->mxcsr));
}
- __asm__ ("fnstsw %0" : "=m" (sf->fpcsr));
+ __asm__ ("fnstcw %0" : "=m" (sf->fpcsr));
}
#endif
}