microasm.isa (6799:36131e4dfb6e) | microasm.isa (6800:335f8b406bb9) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2007-2008 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: --- 167 unchanged lines hidden (view full) --- 176 assembler.symbols["CTrue"] = "ConditionTests::True" 177 assembler.symbols["CFalse"] = "ConditionTests::False" 178 179 for reg in ('sysenter_cs', 'sysenter_esp', 'sysenter_eip', 180 'star', 'lstar', 'cstar', 'sf_mask', 181 'kernel_gs_base'): 182 assembler.symbols[reg] = regIdx("MISCREG_%s" % reg.upper()) 183 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2007-2008 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: --- 167 unchanged lines hidden (view full) --- 176 assembler.symbols["CTrue"] = "ConditionTests::True" 177 assembler.symbols["CFalse"] = "ConditionTests::False" 178 179 for reg in ('sysenter_cs', 'sysenter_esp', 'sysenter_eip', 180 'star', 'lstar', 'cstar', 'sf_mask', 181 'kernel_gs_base'): 182 assembler.symbols[reg] = regIdx("MISCREG_%s" % reg.upper()) 183 |
184 for flag in ('Scalar',): | 184 for flag in ('Scalar', 'MultHi'): |
185 assembler.symbols[flag] = 'Media%sOp' % flag 186 187 # Code literal which forces a default 64 bit operand size in 64 bit mode. 188 assembler.symbols["oszIn64Override"] = ''' 189 if (machInst.mode.submode == SixtyFourBitMode && 190 env.dataSize == 4) 191 env.dataSize = 8; 192 ''' --- 40 unchanged lines hidden --- | 185 assembler.symbols[flag] = 'Media%sOp' % flag 186 187 # Code literal which forces a default 64 bit operand size in 64 bit mode. 188 assembler.symbols["oszIn64Override"] = ''' 189 if (machInst.mode.submode == SixtyFourBitMode && 190 env.dataSize == 4) 191 env.dataSize = 8; 192 ''' --- 40 unchanged lines hidden --- |