Deleted Added
sdiff udiff text old ( 4713:c208cec7b5b3 ) new ( 4804:4a707cb7065b )
full compact
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

108 */
109 class RegOpBase : public X86MicroopBase
110 {
111 protected:
112 const RegIndex src1;
113 const RegIndex dest;
114 const uint8_t dataSize;
115 const uint16_t ext;
116
117 // Constructor
118 RegOpBase(ExtMachInst _machInst,
119 const char *mnem, const char *_instMnem,
120 bool isMicro, bool isDelayed,
121 bool isFirst, bool isLast,
122 RegIndex _src1, RegIndex _dest,
123 uint8_t _dataSize, uint16_t _ext,
124 OpClass __opClass) :
125 X86MicroopBase(_machInst, mnem, _instMnem,
126 isMicro, isDelayed, isFirst, isLast,
127 __opClass),
128 src1(_src1), dest(_dest),
129 dataSize(_dataSize), ext(_ext)
130 {
131 }
132
133 //Figure out what the condition code flags should be.
134 uint64_t genFlags(uint64_t oldFlags, uint64_t flagMask,
135 uint64_t _dest, uint64_t _src1, uint64_t _src2,
136 bool subtract = false) const;
137 bool checkCondition(uint64_t flags) const;
138 };

--- 53 unchanged lines hidden ---