specialize.isa (4575:d0017efdfa02) specialize.isa (4582:963ea0dcf174)
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:

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

143 memEnv = copy.copy(env)
144 memName = Name + "_M"
145 print "%0"
146 return doSplitDecode(specializeInst, "MODRM_MOD",
147 {"3" : (regName, regTypes, regEnv)},
148 (memName, memTypes, memEnv))
149 elif opType.tag in ("I", "J"):
150 # Immediates
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:

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

143 memEnv = copy.copy(env)
144 memName = Name + "_M"
145 print "%0"
146 return doSplitDecode(specializeInst, "MODRM_MOD",
147 {"3" : (regName, regTypes, regEnv)},
148 (memName, memTypes, memEnv))
149 elif opType.tag in ("I", "J"):
150 # Immediates
151 print "IMMEDIATE"
152 Name += "_I"
153 elif opType.tag == "M":
154 # This needs to refer to memory, but we'll fill in the details
155 # later. It needs to take into account unaligned memory
156 # addresses.
157 print "%0"
158 Name += "_M"
159 elif opType.tag in ("PR", "R", "VR"):

--- 12 unchanged lines hidden ---
151 Name += "_I"
152 elif opType.tag == "M":
153 # This needs to refer to memory, but we'll fill in the details
154 # later. It needs to take into account unaligned memory
155 # addresses.
156 print "%0"
157 Name += "_M"
158 elif opType.tag in ("PR", "R", "VR"):

--- 12 unchanged lines hidden ---