Home | History | Annotate | Download | only in priv

Lines Matching defs:of

7    This file is part of Valgrind, a dynamic binary instrumentation
14 modify it under the terms of the GNU General Public License as
15 published by the Free Software Foundation; either version 2 of the
19 WITHOUT ANY WARRANTY; without even the implied warranty of
23 You should have received a copy of the GNU General Public License
30 Neither the names of the U.S. Department of Energy nor the
31 University of California nor the names of its contributors may be
51 These calls are of course in the host machine code and
55 Only change the signatures of these helper functions very
68 /* Set to 1 to get detailed profiling info about use of the flag
151 { UInt cf, pf, af, zf, sf, of; \
161 of = lshift((argL ^ argR ^ -1) & (argL ^ res), \
163 return cf | pf | af | zf | sf | of; \
172 { UInt cf, pf, af, zf, sf, of; \
182 of = lshift((argL ^ argR) & (argL ^ res), \
184 return cf | pf | af | zf | sf | of; \
193 { UInt cf, pf, af, zf, sf, of; \
207 of = lshift((argL ^ argR ^ -1) & (argL ^ res), \
209 return cf | pf | af | zf | sf | of; \
218 { UInt cf, pf, af, zf, sf, of; \
232 of = lshift((argL ^ argR) & (argL ^ res), \
234 return cf | pf | af | zf | sf | of; \
243 { UInt cf, pf, af, zf, sf, of; \
249 of = 0; \
250 return cf | pf | af | zf | sf | of; \
259 { UInt cf, pf, af, zf, sf, of; \
269 of = ((res & DATA_MASK) == SIGN_MASK) << 11; \
270 return cf | pf | af | zf | sf | of; \
279 { UInt cf, pf, af, zf, sf, of; \
289 of = ((res & DATA_MASK) \
291 return cf | pf | af | zf | sf | of; \
300 { UInt cf, pf, af, zf, sf, of; \
306 /* of is defined if shift count == 1 */ \
307 of = lshift(CC_DEP2 ^ CC_DEP1, 12 - DATA_BITS) \
309 return cf | pf | af | zf | sf | of; \
318 { UInt cf, pf, af, zf, sf, of; \
324 /* of is defined if shift count == 1 */ \
325 of = lshift(CC_DEP2 ^ CC_DEP1, 12 - DATA_BITS) \
327 return cf | pf | af | zf | sf | of; \
333 /* ROL: cf' = lsb(result). of' = msb(result) ^ lsb(result). */
350 /* ROR: cf' = msb(result). of' = msb(result) ^ msb-1(result). */
371 { UInt cf, pf, af, zf, sf, of; \
386 of = cf << 11; \
387 return cf | pf | af | zf | sf | of; \
397 { UInt cf, pf, af, zf, sf, of; \
412 of = cf << 11; \
413 return cf | pf | af | zf | sf | of; \
647 UInt of,sf,zf,cf,pf;
659 case X86CondO: /* OF == 1 */
660 of = eflags >> X86G_CC_SHIFT_O;
661 return 1 & (inv ^ of);
692 case X86CondL: /* (SF xor OF) == 1 */
694 of = eflags >> X86G_CC_SHIFT_O;
695 return 1 & (inv ^ (sf ^ of));
699 case X86CondLE: /* ((SF xor OF) or ZF) == 1 */
701 of = eflags >> X86G_CC_SHIFT_O;
703 return 1 & (inv ^ ((sf ^ of) | zf));
994 /* byte sub/cmp of zero, then S --> test (dst-0 <s 0)
998 top bit of a byte is 1 or 0. See also LOGICB/CondS below. */
1008 /* byte sub/cmp of zero, then NS --> test !(dst-0 <s 0)
1033 result and makes OF be zero. LE computes (SZ ^ OF) | ZF, but
1034 OF is zero, so this reduces to SZ | ZF -- which will be 1 iff
1102 bit of a byte register is set: eg testb %al,%al; js ..
1103 Since it just depends on the top bit of the byte, extract
1104 that bit and explicitly get rid of all the rest. This
1106 of the other bits in the byte are undefined. */
1113 /* ditto, for negation-of-S. */
1163 /* This can happen, as a result of x87 FP compares: "fcom ... ;
1307 // the top half of the result isn't simply the sign extension
1308 // of the bottom half (iow the result doesn't fit completely
1384 S is the sign bit. For runs X----X, at least one of the Xs must be
1389 64-bit avoids the confusion of an explicitly represented leading 1
1496 /* Layout of the real x87 state. */
1626 of sync, in that it thinks all FP registers are defined by
1770 /* That's the first 160 bytes of the image done. Now only %xmm0
1826 /* Copy the x87 registers out of the image, into a temporary
1830 handful of scalar stores. This would work fine except for the
1834 it's composed only of scalar stores and so is alignment
1835 insensitive. Of course this is a kludge of the lamest kind --
1923 result at the given address which represents a buffer of at least 108
1969 UInt tempCOUNT = rot_amt & 0x1F, cf=0, of=0, tempcf;
1974 of = ((arg >> 31) ^ cf) & 1;
1985 of = ((arg >> 15) ^ cf) & 1;
1996 of = ((arg >> 7) ^ cf) & 1;
2009 of &= 1;
2011 eflags_in |= (cf << X86G_CC_SHIFT_C) | (of << X86G_CC_SHIFT_O);
2024 UInt tempCOUNT = rot_amt & 0x1F, cf=0, of=0, tempcf;
2035 of = ((arg >> 31) ^ cf) & 1;
2046 of = ((arg >> 15) ^ cf) & 1;
2057 of = ((arg >> 7) ^ cf) & 1;
2064 of &= 1;
2066 eflags_in |= (cf << X86G_CC_SHIFT_C) | (of << X86G_CC_SHIFT_O);
2074 AX value in low half of arg, OSZACP in upper half.
2752 privilege). This forms the bottom 2 bits of the selector. */
2885 /* Figure out if any part of the guest state contained in minoff
2937 /* Total size of the guest state, in bytes. */
2958 gdefs.h on meaning of thunk fields. */