utility.hh (4342:a9ff632aa660) utility.hh (4569:8720f7848610)
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 *

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

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 ^
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 *

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

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 ^
82 emi.opSize;
82 emi.mode ^ emi.opSize;
83 };
84 };
85}
86
87namespace X86ISA
88{
89 static inline bool
90 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 ---