diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-01 02:12:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-01 02:12:38 +0000 |
commit | dd6834b05415ad947c153c649eea7b2eb14ed2af (patch) | |
tree | 8241406f43ce5ad62b99da7f2b0a7e4d3b7735f1 | |
parent | 8a46d4027c5d797eb07afe24d43c37aaa5e33c5d (diff) | |
download | ruby-dd6834b05415ad947c153c649eea7b2eb14ed2af.tar.gz |
configure.in: use SSE2
* configure.in: use SSE2 instructions for drop unexpected
precisions. [ruby-core:54738] [Bug #8358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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() |