1// Copyright (c) 2007-2008 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// Redistribution and use of this software in source and binary forms, 5// with or without modification, are permitted provided that the 6// following conditions are met: 7// 8// The software must be used only for Non-Commercial Use which means any --- 964 unchanged lines hidden (view full) --- 973 default: 974 panic("Unrecognized control register %d.\\n", dest); 975 } 976 ControlDest = newVal; 977 } 978 ''' 979 980 # Microops for manipulating segmentation registers |
981 class SegOp(CondRegOp): |
982 abstract = True 983 def __init__(self, dest, src1, flags=None, dataSize="env.dataSize"): 984 super(SegOp, self).__init__(dest, \ 985 src1, "NUM_INTREGS", flags, dataSize) 986 987 class Wrbase(SegOp): 988 code = ''' 989 SegBaseDest = psrc1; --- 156 unchanged lines hidden --- |