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 * --- 50 unchanged lines hidden (view full) --- 59#define __ARCH_X86_INSTS_STATICINST_HH__ 60 61#include "base/trace.hh" 62#include "cpu/static_inst.hh" 63 64namespace X86ISA 65{ 66 /** |
67 * Class for register indices passed to instruction constructors. Using a 68 * wrapper struct for these lets take advantage of the compiler's type 69 * checking. 70 */ 71 struct InstRegIndex 72 { 73 RegIndex idx; 74 explicit InstRegIndex(RegIndex _idx) : idx(_idx) 75 {} 76 }; 77 78 /** |
79 * Base class for all X86 static instructions. 80 */ 81 82 class X86StaticInst : public StaticInst 83 { 84 protected: 85 // Constructor. 86 X86StaticInst(const char *mnem, --- 96 unchanged lines hidden --- |