Bug #1357: Fixing variables into specific CPU registers deemed overrated & may disturb compilers' optimizers
http://redmine.ruby-lang.org/issues/show/1357

Author: Ollivier Robert
Status: Open, Priority: Normal
Category: core
ruby -v: ruby 1.9.2dev (2009-03-31) [i386-darwin9.6.0]

I do not think that fixing specific variable into CPU registers is really reflected in performance gains (benchmarks welcome!).  It will also generally disturb compilers' handling of optimization (especially on register-starved CPUs like IA-32/i386) and may generate less efficient code.  Remove the i386/amd64-specific code.

As a side-effect, it enables successful compilation with recent versions of clang/llvm.


----------------------------------------
http://redmine.ruby-lang.org