summaryrefslogtreecommitdiffstats
path: root/opt_operand.def
blob: 5ca1d7402810399b2d529f0499c9b6d5e89b0710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# configration file for operand union optimization
#
# format:
#   [insn name] op1, op2 ...
#
#  wildcard: *
#

__END__

getlocal 2
getlocal 3
getlocal 4

setlocal 2
setlocal 3
setlocal 4

getdynamic *, 0
getdynamic 1, 0
getdynamic 2, 0
getdynamic 3, 0
getdynamic 4, 0

setdynamic *, 0
setdynamic 1, 0
setdynamic 2, 0
setdynamic 3, 0
setdynamic 4, 0

putobject INT2FIX(0)
putobject INT2FIX(1)
putobject Qtrue
putobject Qfalse

# CALL
send *, *, Qfalse, 0, *
send *, 0, Qfalse, 0, *
send *, 1, Qfalse, 0, *
send *, 2, Qfalse, 0, *
send *, 3, Qfalse, 0, *

# FCALL
send *, *, Qfalse, 0x04, *
send *, 0, Qfalse, 0x04, *
send *, 1, Qfalse, 0x04, *
send *, 2, Qfalse, 0x04, *
send *, 3, Qfalse, 0x04, *

# VCALL
send *, 0, Qfalse, 0x0c, *


__END__