1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

configure.in: -mstackrealign

* configure.in: -mstackrealign is necessary for -msse2 working.
  [ruby-core:54716] [Bug #8349]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-01-09 11:49:23 +00:00
parent 40967a5c0b
commit b5faf430cc
2 changed files with 13 additions and 2 deletions

View file

@ -1,4 +1,12 @@
Thu Jan 9 20:46:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
Thu Jan 9 20:49:22 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: -mstackrealign is necessary for -msse2 working.
[ruby-core:54716] [Bug #8349]
Thu Jan 9 20:49:06 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]

View file

@ -862,7 +862,10 @@ if test "$GCC" = yes; then
# 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)])
RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [
RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse)
RUBY_TRY_CFLAGS(-mstackrealign, [RUBY_APPEND_OPTION(XCFLAGS, -mstackrealign)])
])
]
)
fi