Commit 44c9211f authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Normalize nop to sll zero, zero, 0.

parent 0a95b0e9
2003-07-10 Benot Perrot <benoit@lrde.epita.fr>
* dev/mipsy.xml, src/inst/program_solver.hh, src/vm/virtual_machine.hh:
Normalize nop to sll zero, zero, 0.
2003-07-07 Benot Perrot <benoit@lrde.epita.fr>
* bootstrap, dev/mipsy-mk-inst-gen.py:
......
......@@ -1008,10 +1008,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<!-- Nop instructions -->
<instruction opcode="nop" level="native">
<format>
</format>
<syntax>
<instruction opcode="nop" level="pseudo">
<syntax alias="sll">
<hidden value="* new Register(Register::zero)" />
<hidden value="* new Register(Register::zero)" />
<hidden value="* new IntExp(0)" />
</syntax>
</instruction>
......
......@@ -254,9 +254,6 @@ namespace inst
protected:
virtual void visit(Syscall&) {}
protected:
virtual void visit(Nop&) {}
protected:
Program* _program;
};
......
......@@ -134,8 +134,6 @@ namespace vm
virtual void visit(const inst::Syscall& sycall);
virtual void visit(const inst::Nop&) {}
protected:
void begin_scope()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment