cpu.ppc: update megamorphic dispatch template
parent
425e9d0dde
commit
1002898b7d
|
@ -200,12 +200,7 @@ CONSTANT: rs-reg 14
|
|||
! cache = ...
|
||||
0 3 LOAD32 rc-absolute-ppc-2/2 rt-immediate jit-rel
|
||||
! key = hashcode(class)
|
||||
5 4 3 SRAWI
|
||||
6 4 8 SRAWI
|
||||
5 5 6 ADD
|
||||
6 4 13 SRAWI
|
||||
5 5 6 ADD
|
||||
5 5 3 SLWI
|
||||
5 4 1 SRAWI
|
||||
! key &= cache.length - 1
|
||||
5 5 mega-cache-size get 1 - bootstrap-cell * ANDI
|
||||
! cache += array-start-offset
|
||||
|
|
Loading…
Reference in New Issue