macroop.isa (9700:2ea56473f400) macroop.isa (10184:bbfa3152bdea)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 96 unchanged lines hidden (view full) ---

105 // Shut up gcc.
106 regSize = regSize;
107 return out.str();
108 }
109}};
110
111// Basic instruction class constructor template.
112def template MacroConstructor {{
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

--- 96 unchanged lines hidden (view full) ---

105 // Shut up gcc.
106 regSize = regSize;
107 return out.str();
108 }
109}};
110
111// Basic instruction class constructor template.
112def template MacroConstructor {{
113 inline X86Macroop::%(class_name)s::%(class_name)s(
113 X86Macroop::%(class_name)s::%(class_name)s(
114 ExtMachInst machInst, EmulEnv _env)
115 : %(base_class)s("%(mnemonic)s", machInst, %(num_microops)s, _env)
116 {
117 %(adjust_env)s;
118 %(adjust_imm)s;
119 %(adjust_disp)s;
120 %(init_env)s;
121 %(constructor)s;

--- 213 unchanged lines hidden ---
114 ExtMachInst machInst, EmulEnv _env)
115 : %(base_class)s("%(mnemonic)s", machInst, %(num_microops)s, _env)
116 {
117 %(adjust_env)s;
118 %(adjust_imm)s;
119 %(adjust_disp)s;
120 %(init_env)s;
121 %(constructor)s;

--- 213 unchanged lines hidden ---