This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [PATCH] fix for PR 59691


On 02/06/14 15:21, Iyer, Balaji V wrote:
Hello Everyone,
	Attached, please find a patch that will fix the issue in PR 59691. The main issue was that the Cilk library (libcilkrts) was not checking if the target has SSE support before emitting SSE instruction. This patch should fix that.

Here is the ChangeLog entries:
libcilkrts/ChangeLog
2014-02-06  Balaji V. Iyer  <balaji.v.iyer@intel.com>

         * runtime/config/x86/os-unix-sysdep.c (__builtin_cpu_supports): New
         function.
         (restore_x86_fp_state): Added a check if the cpu supports the
         instruction before emitting it.
         (sysdep_save_fp_ctrl_state): Likewise.



Is this Ok to install?
Yes, this is fine.

jeff


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