Project

General

Profile

Actions

Feature #82

closed

Make RTL move instruction work if both operands are pseudo registers

Feature #82: Make RTL move instruction work if both operands are pseudo registers

Added by Eugen Wissner about 1 month ago. Updated 29 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Code generation
Start date:
Due date:
% Done:

0%

Estimated time:

Description

move instruction is properly allocated only if one of the arguments is a pseudo register.

  • If only the destination is a pseudo register, sw should be generated.
  • If only the source is a pseudo register, lw should be generated.
  • If both operands are pseudo registers, lw followed by an sw should be generated.

ElnaRtlOperator.move should be renamed to ElnaRtlOperator.mv since it is the standard assembly name for this instruction.

Updated by Eugen Wissner 29 days ago Actions #1

  • Status changed from New to Closed
Actions

Also available in: PDF Atom