base.isa (5040:126e4510b5bb) base.isa (5083:49559a8060e8)
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:

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

87 for val in vals:
88 text += ", %s" % self.cppBool(val)
89 return text
90
91 def getAllocator(self, mnemonic, *microFlags):
92 return 'new %s(machInst, %s)' % \
93 (self.className, mnemonic, self.microFlagsText(microFlags))
94}};
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:

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

87 for val in vals:
88 text += ", %s" % self.cppBool(val)
89 return text
90
91 def getAllocator(self, mnemonic, *microFlags):
92 return 'new %s(machInst, %s)' % \
93 (self.className, mnemonic, self.microFlagsText(microFlags))
94}};
95
96//////////////////////////////////////////////////////////////////////////
97//
98// FpOp Microop templates
99//
100//////////////////////////////////////////////////////////////////////////
101
102//TODO Actually write an fp microop base class.