mirror of
https://github.com/ruby/ruby.git
synced 2025-09-17 01:23:57 +02:00
merge revision(s) 44474,44538,44539,44890,44896: [Backport #9495]
* 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@44993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
22ce47745b
commit
c83ad9aaed
3 changed files with 48 additions and 3 deletions
29
ChangeLog
29
ChangeLog
|
@ -1,3 +1,32 @@
|
||||||
|
Sun Feb 16 07:13:36 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* configure.in: Fix compilation error.
|
||||||
|
https://bugs.ruby-lang.org/issues/8358#note-16
|
||||||
|
|
||||||
|
Sun Feb 16 07:13:36 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]
|
||||||
|
|
||||||
|
Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: -mstackrealign is necessary for -msse2 working.
|
||||||
|
[ruby-core:54716] [Bug #8349]
|
||||||
|
|
||||||
|
Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: -mstackrealign is necessary for -msse2 working.
|
||||||
|
[ruby-core:54716] [Bug #8349]
|
||||||
|
|
||||||
|
* configure.in: use SSE2 instructions to drop unexpected precisions on
|
||||||
|
other than mingw. [ruby-core:59472] [Bug #8358]
|
||||||
|
|
||||||
|
Sun Feb 16 07:13:36 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in: use SSE2 instructions for drop unexpected
|
||||||
|
precisions. [ruby-core:54738] [Bug #8358]
|
||||||
|
|
||||||
Fri Feb 7 04:19:19 2014 Koichi Sasada <ko1@atdot.net>
|
Fri Feb 7 04:19:19 2014 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* gc.c (get_envparam_int): correct warning messsages.
|
* gc.c (get_envparam_int): correct warning messsages.
|
||||||
|
|
16
configure.in
16
configure.in
|
@ -856,6 +856,22 @@ if test "$GCC" = yes; then
|
||||||
for oflag in -fno-fast-math; do
|
for oflag in -fno-fast-math; do
|
||||||
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
|
RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
|
||||||
done
|
done
|
||||||
|
AS_CASE(["$target"],
|
||||||
|
[*-darwin*], [
|
||||||
|
# doesn't seem necessary on Mac OS X
|
||||||
|
],
|
||||||
|
[[i[4-6]86*]], [
|
||||||
|
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
|
fi
|
||||||
|
|
||||||
AC_ARG_WITH(opt-dir,
|
AC_ARG_WITH(opt-dir,
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#define RUBY_VERSION "2.1.1"
|
#define RUBY_VERSION "2.1.1"
|
||||||
#define RUBY_RELEASE_DATE "2014-02-10"
|
#define RUBY_RELEASE_DATE "2014-02-16"
|
||||||
#define RUBY_PATCHLEVEL 30
|
#define RUBY_PATCHLEVEL 31
|
||||||
|
|
||||||
#define RUBY_RELEASE_YEAR 2014
|
#define RUBY_RELEASE_YEAR 2014
|
||||||
#define RUBY_RELEASE_MONTH 2
|
#define RUBY_RELEASE_MONTH 2
|
||||||
#define RUBY_RELEASE_DAY 10
|
#define RUBY_RELEASE_DAY 16
|
||||||
|
|
||||||
#include "ruby/version.h"
|
#include "ruby/version.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue