Revision 5fafdf24 target-i386/ops_template.h
b/target-i386/ops_template.h | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* i386 micro operations (included several times to generate |
3 | 3 |
* different operand sizes) |
4 |
*
|
|
4 |
* |
|
5 | 5 |
* Copyright (c) 2003 Fabrice Bellard |
6 | 6 |
* |
7 | 7 |
* This library is free software; you can redistribute it and/or |
... | ... | |
239 | 239 |
zf = ((DATA_TYPE)CC_DST == 0) << 6; |
240 | 240 |
sf = lshift(CC_DST, 8 - DATA_BITS) & 0x80; |
241 | 241 |
/* of is defined if shift count == 1 */ |
242 |
of = lshift(CC_SRC ^ CC_DST, 12 - DATA_BITS) & CC_O;
|
|
242 |
of = lshift(CC_SRC ^ CC_DST, 12 - DATA_BITS) & CC_O; |
|
243 | 243 |
return cf | pf | af | zf | sf | of; |
244 | 244 |
} |
245 | 245 |
|
... | ... | |
502 | 502 |
{ |
503 | 503 |
int count; |
504 | 504 |
target_long res; |
505 |
|
|
505 |
|
|
506 | 506 |
res = T0 & DATA_MASK; |
507 | 507 |
if (res != 0) { |
508 | 508 |
count = 0; |
Also available in: Unified diff