diff --git a/ChangeLog b/ChangeLog index 10d5bcee2c..98aa306bfa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 1 11:12:29 2014 Nobuyoshi Nakada + + * configure.in: use SSE2 instructions for drop unexpected + precisions. [ruby-core:54738] [Bug #8358] + Tue Dec 31 23:49:07 2013 Nobuyoshi Nakada * eval.c (rb_f_raise): add cause: optional keyword argument. diff --git a/configure.in b/configure.in index ad89e44b16..60ab5777ac 100644 --- a/configure.in +++ b/configure.in @@ -801,6 +801,7 @@ if test "$GCC" = yes; then # 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()