Deleted Added
sdiff udiff text old ( 5675:7828ee363019 ) new ( 5678:9af6981bb086 )
full compact
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

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

231 void
232 divide(uint64_t dividend, uint64_t divisor,
233 uint64_t &quotient, uint64_t &remainder);
234
235 enum SegmentSelectorCheck {
236 SegNoCheck, SegCSCheck, SegCallGateCheck, SegIntGateCheck,
237 SegSSCheck, SegIretCheck, SegIntCSCheck
238 };
239}};
240
241output decoder {{
242 void
243 divide(uint64_t dividend, uint64_t divisor,
244 uint64_t &quotient, uint64_t &remainder)
245 {
246 //Check for divide by zero.

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

1093 // Check for a NULL selector and set ZF,EZF appropriately.
1094 ccFlagBits = ccFlagBits & ~(ext & (ZFBit | EZFBit));
1095 if (!selector.si && !selector.ti)
1096 ccFlagBits = ccFlagBits | (ext & (ZFBit | EZFBit));
1097 '''
1098
1099 class Wrdh(RegOp):
1100 code = '''
1101
1102 '''
1103
1104 class Wrtsc(WrRegOp):
1105 code = '''
1106 TscOp = psrc1;
1107 '''
1108
1109 class Rdtsc(RdRegOp):

--- 48 unchanged lines hidden ---