base.isa (5788:6d4161a36ca1) base.isa (6345:f9ae7c3a036c)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// Redistribution and use of this software in source and binary forms,
7// with or without modification, are permitted provided that the
8// following conditions are met:

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

81 static const EmulEnv dummyEmulEnv(0, 0, 1, 1, 1);
82
83 Macroop * macroop = dynamic_cast<Macroop *>(curMacroop.get());
84 const ExtMachInst &machInst =
85 macroop ? macroop->getExtMachInst() : dummyExtMachInst;
86 const EmulEnv &env =
87 macroop ? macroop->getEmulEnv() : dummyEmulEnv;
88 // env may not be used in the microop's constructor.
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// Redistribution and use of this software in source and binary forms,
7// with or without modification, are permitted provided that the
8// following conditions are met:

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

81 static const EmulEnv dummyEmulEnv(0, 0, 1, 1, 1);
82
83 Macroop * macroop = dynamic_cast<Macroop *>(curMacroop.get());
84 const ExtMachInst &machInst =
85 macroop ? macroop->getExtMachInst() : dummyExtMachInst;
86 const EmulEnv &env =
87 macroop ? macroop->getEmulEnv() : dummyEmulEnv;
88 // env may not be used in the microop's constructor.
89 RegIndex reg = env.reg;
89 InstRegIndex reg(env.reg);
90 reg = reg;
91 using namespace RomLabels;
92 return %s;
93 }
94 '''
95
96 def __init__(self, name):
97 self.name = name

--- 28 unchanged lines hidden ---
90 reg = reg;
91 using namespace RomLabels;
92 return %s;
93 }
94 '''
95
96 def __init__(self, name):
97 self.name = name

--- 28 unchanged lines hidden ---