[前][次][番号順一覧][スレッド一覧]

ruby-changes:32395

From: nobu <ko1@a...>
Date: Wed, 1 Jan 2014 11:12:43 +0900 (JST)
Subject: [ruby-changes:32395] nobu:r44474 (trunk): configure.in: use SSE2

nobu	2014-01-01 11:12:38 +0900 (Wed, 01 Jan 2014)

  New Revision: 44474

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44474

  Log:
    configure.in: use SSE2
    
    * configure.in: use SSE2 instructions for drop unexpected
      precisions.  [ruby-core:54738] [Bug #8358]

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 44473)
+++ configure.in	(revision 44474)
@@ -801,6 +801,7 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L801
       # various  headers.  Most frequent  situation is  the use  of //
       # comments.   We  bypass  ANSI   C  mode  for  them.   Otherwise
       # extension libs cannot include those headers.
+      RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse)])
     ],
     [cygwin*|darwin*|netbsd*], [
       # need lgamma_r(), finite()
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44473)
+++ ChangeLog	(revision 44474)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jan  1 11:12:29 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* configure.in: use SSE2 instructions for drop unexpected
+	  precisions.  [ruby-core:54738] [Bug #8358]
+
 Tue Dec 31 23:49:07 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* eval.c (rb_f_raise): add cause: optional keyword argument.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]