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: --- 145 unchanged lines hidden (view full) --- 154 assembler.symbols["C%s" % cond] = "ConditionTests::%s" % cond 155 assembler.symbols["nC%s" % cond] = "ConditionTests::Not%s" % cond 156 assembler.symbols["CSTRZnEZF"] = "ConditionTests::STRZnEZF" 157 assembler.symbols["CSTRnZnEZF"] = "ConditionTests::STRnZnEZF" 158 159 assembler.symbols["CTrue"] = "ConditionTests::True" 160 assembler.symbols["CFalse"] = "ConditionTests::False" 161 |
162 for reg in ('sysenter_cs', 'sysenter_esp', 'sysenter_eip', 163 'star', 'lstar', 'cstar', 'sf_mask', 164 'kernel_gs_base'): 165 assembler.symbols[reg] = "MISCREG_%s" % reg.upper() 166 |
167 # Code literal which forces a default 64 bit operand size in 64 bit mode. 168 assembler.symbols["oszIn64Override"] = ''' 169 if (machInst.mode.submode == SixtyFourBitMode && 170 env.dataSize == 4) 171 env.dataSize = 8; 172 ''' 173 174 assembler.symbols["oszForPseudoDesc"] = ''' --- 36 unchanged lines hidden --- |