diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Wed Jan 1 11:12:29 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in: use SSE2 instructions for drop unexpected + precisions. [ruby-core:54738] [Bug #8358] + Tue Dec 31 23:49:07 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * 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() |