microldstop.hh (8954:3c7232fec7fd) | microldstop.hh (10467:dcf27c8220ac) |
---|---|
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#ifndef __ARCH_X86_INSTS_MICROLDSTOP_HH__ 41#define __ARCH_X86_INSTS_MICROLDSTOP_HH__ 42 43#include "arch/x86/insts/microop.hh" | 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#ifndef __ARCH_X86_INSTS_MICROLDSTOP_HH__ 41#define __ARCH_X86_INSTS_MICROLDSTOP_HH__ 42 43#include "arch/x86/insts/microop.hh" |
44#include "arch/x86/ldstflags.hh" |
|
44#include "mem/packet.hh" 45#include "mem/request.hh" 46#include "sim/faults.hh" 47 48namespace X86ISA 49{ | 45#include "mem/packet.hh" 46#include "mem/request.hh" 47#include "sim/faults.hh" 48 49namespace X86ISA 50{ |
50 const Request::FlagsType SegmentFlagMask = mask(4); 51 const int FlagShift = 4; 52 enum FlagBit { 53 CPL0FlagBit = 1, 54 AddrSizeFlagBit = 2, 55 StoreCheck = 4 56 }; 57 | |
58 /** 59 * Base class for load and store ops 60 */ 61 class LdStOp : public X86MicroopBase 62 { 63 protected: 64 const uint8_t scale; 65 const RegIndex index; --- 38 unchanged lines hidden --- | 51 /** 52 * Base class for load and store ops 53 */ 54 class LdStOp : public X86MicroopBase 55 { 56 protected: 57 const uint8_t scale; 58 const RegIndex index; --- 38 unchanged lines hidden --- |