emulenv.cc (11793:ef606668d247) | emulenv.cc (12334:e0ab29a34764) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 27 unchanged lines hidden (view full) --- 36 * 37 * Authors: Gabe Black 38 */ 39 40#include "arch/x86/emulenv.hh" 41 42#include <cassert> 43 | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 27 unchanged lines hidden (view full) --- 36 * 37 * Authors: Gabe Black 38 */ 39 40#include "arch/x86/emulenv.hh" 41 42#include <cassert> 43 |
44#include "base/misc.hh" | 44#include "base/logging.hh" |
45 46using namespace X86ISA; 47 48void EmulEnv::doModRM(const ExtMachInst & machInst) 49{ 50 assert(machInst.modRM.mod != 3); 51 //Use the SIB byte for addressing if the modrm byte calls for it. 52 if (machInst.modRM.rm == 4 && machInst.addrSize != 2) { --- 70 unchanged lines hidden --- | 45 46using namespace X86ISA; 47 48void EmulEnv::doModRM(const ExtMachInst & machInst) 49{ 50 assert(machInst.modRM.mod != 3); 51 //Use the SIB byte for addressing if the modrm byte calls for it. 52 if (machInst.modRM.rm == 4 && machInst.addrSize != 2) { --- 70 unchanged lines hidden --- |