Add copy_special instruction.

This commit is contained in:
Tyler McMullen
2017-11-22 19:18:11 -08:00
committed by Jakob Stoklund Olesen
parent 8ed37e352e
commit cdf70ccb77
6 changed files with 36 additions and 0 deletions

View File

@@ -537,6 +537,13 @@ regmove = Instruction(
ins=(x, src, dst),
other_side_effects=True)
copy_special = Instruction(
'copy_special', r"""
Copies a value from one special register to another. e.g. rbp -> rsp.
""",
ins=(src, dst),
other_side_effects=True)
regspill = Instruction(
'regspill', r"""
Temporarily divert ``x`` from ``src`` to ``SS``.