microasm.isa (4953:1181cf10e11e) microasm.isa (5008:2d852642081e)
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:

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

120
121 # Code literal which forces a default 64 bit operand size in 64 bit mode.
122 assembler.symbols["oszIn64Override"] = '''
123 if (machInst.mode.submode == SixtyFourBitMode &&
124 env.dataSize == 4)
125 env.dataSize = 8;
126 '''
127
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:

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

120
121 # Code literal which forces a default 64 bit operand size in 64 bit mode.
122 assembler.symbols["oszIn64Override"] = '''
123 if (machInst.mode.submode == SixtyFourBitMode &&
124 env.dataSize == 4)
125 env.dataSize = 8;
126 '''
127
128 def labeler(labelStr):
129 return "label_%s" % labelStr
130
131 assembler.symbols["label"] = labeler
132
128 macroopDict = assembler.assemble(microcode)
129}};
133 macroopDict = assembler.assemble(microcode)
134}};