|
Moka kernel
|
Go to the documentation of this file.
25 #ifndef KERNEL_TYPES_HH
26 #define KERNEL_TYPES_HH
53 #define NB_DIRECT_INFO (4)
115 #define NEG_ORBIT(O1) \
116 (static_cast<TOrbit> (0xF ^ (static_cast<unsigned int>(O1))))
126 #define ADD_ORBIT(O1,O2) \
127 (static_cast<TOrbit>( \
128 static_cast<unsigned int>(O1) | \
129 static_cast<unsigned int>(O2)))
139 #define AND_ORBIT(O1,O2) \
140 (static_cast<TOrbit>( \
141 static_cast<unsigned int>(O1) & \
142 static_cast<unsigned int>(O2)))
152 #define SUB_ORBIT(O1,O2) \
153 (static_cast<TOrbit>( \
154 static_cast<unsigned int>(O1) & \
155 static_cast<unsigned int>(NEG_ORBIT(O2))))
164 #define IS_ORBIT_INCLUDED(O1,O2) \
165 (static_cast<TOrbit>( \
166 static_cast<unsigned int>(O1) & \
167 static_cast<unsigned int>(O2)) == O1)
356 #endif // KERNEL_TYPES_HH