1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool
Takashi Kokubun 9511b4c8fa
Optimize away call data refs in JIT-ed method calls
According to ko1, `cd->cc != cc` was for GC.compact guard.
As we pin cc by rb_gc_mark(), we don't need the check.

```
$ benchmark-driver benchmark.yml -v --rbenv 'before --jit;after --jit' --repeat-count=12 --output=all
before --jit: ruby 2.8.0dev (2020-03-11T05:36:48Z master da6948753e) +JIT [x86_64-linux]
after --jit: ruby 2.8.0dev (2020-03-11T06:26:34Z master 36b20b8b4a) +JIT [x86_64-linux]
Calculating -------------------------------------
                                 before --jit           after --jit
Optcarrot Lan_Master.nes    74.03480698689405     71.63404803273507 fps
                            74.15085286586992     73.43923328104295
                            75.51738277744781     75.75465268365384
                            76.24922600109410     76.74071607861318
                            76.45513422802325     77.47521029238116
                            76.86617230739330     78.14759496269018
                            77.71509137131933     79.14051571125866
                            77.72839157096146     79.35884822673313
                            78.25218904561633     79.92538876408051
                            78.72521071333249     79.98075556706726
                            78.79950460165091     80.51747831497875
                            79.43884960720381     80.97973166525254
```
2020-03-10 23:29:50 -07:00
..
lib Specify explicit separator not to be affected by $; 2020-03-08 17:38:37 +09:00
m4 do not assume GCC for __builtin_setjmp 2020-02-06 11:46:51 +09:00
ruby_vm Optimize away call data refs in JIT-ed method calls 2020-03-10 23:29:50 -07:00
test MiniTest::Unit.options has default :seed 2020-02-27 04:06:28 +09:00
actions-commit-info.sh Try to use set-output 2019-12-11 14:03:30 +09:00
asm_parse.rb
bisect.sh
build-transcode
checksum.rb
colors
darwin-cc
downloader.rb Use https for downloading Unicode data. 2020-03-09 13:39:23 +09:00
enc-emoji-citrus-gen.rb
enc-emoji4unicode.rb
enc-unicode.rb
eval.rb
expand-config.rb
extlibs.rb
fake.rb
fetch-bundled_gems.rb Try with and without "v" prefix for numeric tag 2020-02-24 12:40:34 +09:00
file2lastrev.rb Exit gently if no VCS found but --suppress_not_found is given 2019-09-07 17:26:28 +09:00
format-release fix typo 2019-12-25 17:01:26 +09:00
gem-unpack.rb Remove unneeded exec bits from some files 2019-11-09 21:36:30 +09:00
gen-mailmap.rb Use CDN instead of raw.githubusercontent.com 2019-12-16 16:59:23 +09:00
gen_dummy_probes.rb
gen_ruby_tapset.rb
generic_erb.rb
git-refresh
gperf.sed
id2token.rb
ifchange
insns2vm.rb
install-sh
leaked-globals st.c: Use rb_st_* prefix instead of st_* (#2479) 2019-09-22 22:12:18 +09:00
make-snapshot make-snapshot: fixed mode 2019-12-23 10:10:23 +09:00
make_hgraph.rb
mdoc2man.rb
merger.rb Add github repo to remove_tag 2019-11-22 19:05:58 +09:00
mjit_archflag.sh
mk_builtin_binary.rb Update tool/mk_builtin_binary.rb 2019-12-11 11:24:42 +09:00
mk_builtin_loader.rb Separate builtin initialization calls 2019-12-29 12:34:55 +09:00
mk_call_iseq_optimized.rb Introduce disposable call-cache. 2020-02-22 09:58:59 +09:00
mkconfig.rb Fixed misspellings 2019-12-20 09:32:42 +09:00
mkrunnable.rb
node_name.rb
parse.rb
prereq.status
probes_to_wiki.rb
pure_parser.rb Workaround for bison provided by scoop on mswin environment 2020-02-15 21:20:25 +09:00
rbinstall.rb Fix rbinstall bugs (#2930) 2020-03-08 10:18:53 +09:00
rbuninstall.rb
redmine-backporter.rb Redmine /projects/ruby-trunk is now redirected 2019-12-31 22:06:19 -08:00
release.sh fix version regexp 2019-12-25 18:02:53 +09:00
rmdirs
run-gcov.rb
run-lcov.rb
runruby.rb
strip-rdoc.rb
sync_default_gems.rb tool/sync_default_gems.rb: update paths for openssl 2020-03-10 17:41:01 +09:00
test-bundled-gems.rb Test bundled gems with timeout 2020-01-19 11:35:10 +09:00
test-coverage.rb
transcode-tblgen.rb more on NULL versus functions. 2020-02-07 14:24:19 +09:00
transform_mjit_header.rb Unnamed groups are not captured when named groups are used 2020-01-30 11:31:48 +09:00
travis_disable_ipv6.sh Disable IPv6 on Travis s390x case. (#2819) 2020-01-07 12:23:04 +09:00
travis_retry.sh
update-deps remove prelude.c 2019-12-11 11:24:42 +09:00
vtlh.rb
ytab.sed