ruby/tool/ruby_vm/views
shyouhei 9c6bd0d840 move ADD_PC around (take 2)
Now that we can say for sure if an instruction calls a method or
not internally, it is now possible to reroute the bugs that
forced us to revert the "move PC around" optimization.

First try: r62051
Reverted:  r63763
See also:  r63999

----

trunk: ruby 2.6.0dev (2018-09-13 trunk 64736) [x86_64-darwin15]
ours: ruby 2.6.0dev (2018-09-13 trunk 64736) [x86_64-darwin15]
last_commit=move ADD_PC around (take 2)
Calculating -------------------------------------
                           trunk        ours
         so_ackermann      1.884       2.278 i/s -       1.000 times in 0.530926s 0.438935s
             so_array      1.178       1.157 i/s -       1.000 times in 0.848786s 0.864467s
      so_binary_trees      0.176       0.177 i/s -       1.000 times in 5.683895s 5.657707s
       so_concatenate      0.220       0.221 i/s -       1.000 times in 4.546896s 4.518949s
       so_count_words      6.729       6.470 i/s -       1.000 times in 0.148602s 0.154561s
         so_exception      3.324       3.688 i/s -       1.000 times in 0.300872s 0.271147s
          so_fannkuch      0.546       0.968 i/s -       1.000 times in 1.831328s 1.033376s
             so_fasta      0.541       0.547 i/s -       1.000 times in 1.849923s 1.827091s
      so_k_nucleotide      0.800       0.777 i/s -       1.000 times in 1.250635s 1.286295s
             so_lists      2.101       1.848 i/s -       1.000 times in 0.475954s 0.541095s
        so_mandelbrot      0.435       0.408 i/s -       1.000 times in 2.299328s 2.450535s
            so_matrix      1.946       1.912 i/s -       1.000 times in 0.513872s 0.523076s
    so_meteor_contest      0.311       0.317 i/s -       1.000 times in 3.219297s 3.152052s
             so_nbody      0.746       0.703 i/s -       1.000 times in 1.339815s 1.423441s
       so_nested_loop      0.899       0.901 i/s -       1.000 times in 1.111767s 1.109555s
            so_nsieve      0.559       0.579 i/s -       1.000 times in 1.787763s 1.726552s
       so_nsieve_bits      0.435       0.428 i/s -       1.000 times in 2.296282s 2.333852s
            so_object      1.368       1.442 i/s -       1.000 times in 0.731237s 0.693684s
      so_partial_sums      0.616       0.546 i/s -       1.000 times in 1.623592s 1.833097s
          so_pidigits      0.831       0.832 i/s -       1.000 times in 1.203117s 1.202334s
            so_random      2.934       2.724 i/s -       1.000 times in 0.340791s 0.367150s
so_reverse_complement      0.583       0.866 i/s -       1.000 times in 1.714144s 1.154615s
             so_sieve      1.829       2.081 i/s -       1.000 times in 0.546607s 0.480562s
      so_spectralnorm      0.524       0.558 i/s -       1.000 times in 1.908716s 1.792382s



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-09-14 07:44:44 +00:00
..
_attributes.erb redefinition of a typedef is a C11ism 2018-01-29 08:11:02 +00:00
_c_expr.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
_copyright.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
_insn_entry.erb move ADD_PC around (take 2) 2018-09-14 07:44:44 +00:00
_insn_len_info.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
_insn_name_info.erb tool/ruby_vm/views/_insn_name_info.erb: Auto-detect the longest insn name 2018-05-02 00:57:50 +00:00
_insn_operand_info.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
_insn_stack_increase.erb __VA_ARGS__ is a C99ism 2018-01-13 10:47:33 +00:00
_insn_type_chars.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
_leaf_helpers.erb add new instruction attribute called leaf 2018-09-11 09:48:58 +00:00
_mjit_compile_insn.erb _mjit_compile_insn.erb: move pc on JIT cancel 2018-09-11 15:14:56 +00:00
_mjit_compile_insn_body.erb move ADD_PC around (take 2) 2018-09-14 07:44:44 +00:00
_mjit_compile_pc_and_sp.erb _mjit_compile_pc_and_sp.erb: forget about memcpy [ci skip] 2018-09-12 13:32:11 +00:00
_mjit_compile_send.erb Revert "vm_insnhelper.h: simplify EXEC_EC_CFP implementation" 2018-09-13 07:12:07 +00:00
_mjit_compile_send_guard.erb _mjit_compile_send.erb: retry inlining attr_reader 2018-05-03 08:47:32 +00:00
_notice.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
_trace_instruction.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
insns.inc.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
insns_info.inc.erb add new instruction attribute called leaf 2018-09-11 09:48:58 +00:00
mjit_compile.inc.erb mjit_compile.c: reduce sp motion on JIT 2018-07-19 13:25:22 +00:00
opt_sc.inc.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
optinsn.inc.erb tool/ruby_vm support for pre-2.3 BASERUBY 2018-01-12 08:38:10 +00:00
optunifs.inc.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
vm.inc.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00
vmtc.inc.erb delete tool/instruction.rb (2nd try) 2018-01-12 08:38:09 +00:00