regop.isa (5679:0b7855e2b731) regop.isa (5682:6f1cab082ba7)
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

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

1023 DestReg = SegAttrSrc1;
1024 '''
1025
1026 class Rdsel(SegOp):
1027 code = '''
1028 DestReg = SegSelSrc1;
1029 '''
1030
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

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

1023 DestReg = SegAttrSrc1;
1024 '''
1025
1026 class Rdsel(SegOp):
1027 code = '''
1028 DestReg = SegSelSrc1;
1029 '''
1030
1031 class Rdval(RegOp):
1032 def __init__(self, dest, src1, flags=None, dataSize="env.dataSize"):
1033 super(Rdval, self).__init__(dest, \
1034 src1, "NUM_INTREGS", flags, dataSize)
1035 code = '''
1036 DestReg = MiscRegSrc1;
1037 '''
1038
1039 class Wrval(RegOp):
1040 def __init__(self, dest, src1, flags=None, dataSize="env.dataSize"):
1041 super(Wrval, self).__init__(dest, \
1042 src1, "NUM_INTREGS", flags, dataSize)
1043 code = '''
1044 MiscRegDest = SrcReg1;
1045 '''
1046
1031 class Chks(RegOp):
1032 def __init__(self, dest, src1, src2=0,
1033 flags=None, dataSize="env.dataSize"):
1034 super(Chks, self).__init__(dest,
1035 src1, src2, flags, dataSize)
1036 code = '''
1037 // The selector is in source 1 and can be at most 16 bits.
1038 SegSelector selector = DestReg;

--- 148 unchanged lines hidden ---
1047 class Chks(RegOp):
1048 def __init__(self, dest, src1, src2=0,
1049 flags=None, dataSize="env.dataSize"):
1050 super(Chks, self).__init__(dest,
1051 src1, src2, flags, dataSize)
1052 code = '''
1053 // The selector is in source 1 and can be at most 16 bits.
1054 SegSelector selector = DestReg;

--- 148 unchanged lines hidden ---