mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
d3842de5c9
Operand unification technique enable to combine an instruction and specific operands and make new instruction. * defs/opt_operand.def: add several configuration of operand unifications. * insns.def: use `int' instead to suppress warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
22 lines
257 B
Modula-2
22 lines
257 B
Modula-2
#
|
|
# configration file for operand union optimization
|
|
#
|
|
# format:
|
|
# [insn name] op1, op2 ...
|
|
#
|
|
# wildcard: *
|
|
#
|
|
|
|
getlocal *, 0
|
|
getlocal *, 1
|
|
setlocal *, 0
|
|
setlocal *, 1
|
|
|
|
putobject INT2FIX(0)
|
|
putobject INT2FIX(1)
|
|
|
|
__END__
|
|
|
|
putobject Qtrue
|
|
putobject Qfalse
|
|
|