utility.hh (4334:15815fd6b30c) | utility.hh (4342:a9ff632aa660) |
---|---|
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 * --- 64 unchanged lines hidden (view full) --- 73 return (((uint64_t)emi.legacy << 56) | 74 ((uint64_t)emi.rex << 48) | 75 ((uint64_t)emi.modRM << 40) | 76 ((uint64_t)emi.sib << 32) | 77 ((uint64_t)emi.opcode.num << 24) | 78 ((uint64_t)emi.opcode.prefixA << 16) | 79 ((uint64_t)emi.opcode.prefixB << 8) | 80 ((uint64_t)emi.opcode.op)) ^ | 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 * --- 64 unchanged lines hidden (view full) --- 73 return (((uint64_t)emi.legacy << 56) | 74 ((uint64_t)emi.rex << 48) | 75 ((uint64_t)emi.modRM << 40) | 76 ((uint64_t)emi.sib << 32) | 77 ((uint64_t)emi.opcode.num << 24) | 78 ((uint64_t)emi.opcode.prefixA << 16) | 79 ((uint64_t)emi.opcode.prefixB << 8) | 80 ((uint64_t)emi.opcode.op)) ^ |
81 emi.immediate ^ emi.displacement; | 81 emi.immediate ^ emi.displacement ^ 82 emi.opSize; |
82 }; 83 }; 84} 85 86namespace X86ISA 87{ 88 static inline bool 89 inUserMode(ThreadContext *tc) --- 61 unchanged lines hidden --- | 83 }; 84 }; 85} 86 87namespace X86ISA 88{ 89 static inline bool 90 inUserMode(ThreadContext *tc) --- 61 unchanged lines hidden --- |