diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-23 09:20:15 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-23 09:20:15 +0000 |
| commit | 712da8a819a417a3b3ae68154eef8a3e054de363 (patch) | |
| tree | 7a9ddd74d8f2fdea6f06d040e169d2b671633768 | |
| parent | c339f208c4b304199ebed24cf9963e8d13eefa1f (diff) | |
merge revision(s) 44474,44538,44539,44890,44896,45954: [Backport #8358]
* configure.in: use SSE2 instructions for drop unexpected
precisions. [ruby-core:54738] [Bug #8358]
* configure.in: use SSE2 instructions to drop unexpected precisions on
other than mingw. [ruby-core:59472] [Bug #8358]
* configure.in: -mstackrealign is necessary for -msse2 working.
[ruby-core:54716] [Bug #8349]
* configure.in: -mstackrealign is necessary for -msse2 working.
[ruby-core:54716] [Bug #8349]
* configure.in: add qouting brackets and append wildcard for the
rest after target_cpu, to properly detect platform for SSE2
instructions. [ruby-core:60576] [Bug #8358]
* configure.in: Fix compilation error.
https://bugs.ruby-lang.org/issues/8358#note-16
* configure.in: enable SSE2 on mingw. target='i386-pc-mingw32'.
[ruby-core:62095] [Bug #8358]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 26 | ||||
| -rw-r--r-- | configure.in | 16 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 43 insertions, 1 deletions
@@ -1,3 +1,29 @@ +Mon Jun 23 18:16:07 2014 Hiroshi Shirosaki <h.shirosaki@gmail.com> + + * configure.in: enable SSE2 on mingw. target='i386-pc-mingw32'. + [ruby-core:62095] [Bug #8358] + +Mon Jun 23 18:16:07 2014 Tanaka Akira <akr@fsij.org> + + * configure.in: Fix compilation error. + https://bugs.ruby-lang.org/issues/8358#note-16 + +Mon Jun 23 18:16:07 2014 Vit Ondruch <vondruch@redhat.com> + + * configure.in: add qouting brackets and append wildcard for the + rest after target_cpu, to properly detect platform for SSE2 + instructions. [ruby-core:60576] [Bug #8358] + +Mon Jun 23 18:16:07 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in: use SSE2 instructions to drop unexpected precisions on + other than mingw. [ruby-core:59472] [Bug #8358] + +Mon Jun 23 18:16:07 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * configure.in: use SSE2 instructions for drop unexpected + precisions. [ruby-core:54738] [Bug #8358] + Mon Jun 23 17:29:53 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> * process.c (obj2uid, obj2gid): now getpwnam_r() and getgrnam_r() diff --git a/configure.in b/configure.in index 402919d174..6ea414ece0 100644 --- a/configure.in +++ b/configure.in @@ -771,6 +771,22 @@ if test "$GCC" = yes; then for oflag in -fno-fast-math; do RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)]) done + AS_CASE(["$target"], + [*-darwin*], [ + # doesn't seem necessary on Mac OS X + ], + [[i[4-6]86*|i386*mingw*]], [ + RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [ + RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse) + ]) + AS_CASE(["$XCFLAGS"], + [[*-msse2*]], [ + RUBY_TRY_CFLAGS(-mstackrealign, [ + RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign) + ]) + ]) + ] + ) fi test -z "${ac_env_CFLAGS_set}" -a -n "${cflags+set}" && eval CFLAGS="\"$cflags $ARCH_FLAG\"" @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2014-06-23" -#define RUBY_PATCHLEVEL 494 +#define RUBY_PATCHLEVEL 495 #define RUBY_RELEASE_YEAR 2014 #define RUBY_RELEASE_MONTH 6 |
