ISA: Put parser generated files in a "generated" directory.

This is to avoid collision with non-generated files.
This commit is contained in:
Gabe Black
2012-04-23 12:00:41 -07:00
parent 867ff2b5f1
commit 74ca8a3cd0
10 changed files with 11 additions and 10 deletions

View File

@@ -29,6 +29,7 @@
# Authors: Steve Reinhardt
import sys
import os
Import('*')
@@ -107,7 +108,7 @@ def isa_desc_emitter(target, source, env):
# Add in the CPU models.
source += [ Value(m) for m in cpu_models ]
return target, source
return [os.path.join("generated", t) for t in target], source
ARCH_DIR = Dir('.')

View File

@@ -31,8 +31,8 @@
#ifndef __ARCH_ALPHA_REGISTERS_HH__
#define __ARCH_ALPHA_REGISTERS_HH__
#include "arch/alpha/generated/max_inst_regs.hh"
#include "arch/alpha/ipr.hh"
#include "arch/alpha/max_inst_regs.hh"
#include "base/types.hh"
namespace AlphaISA {

View File

@@ -43,7 +43,7 @@
#include <sstream>
#include "arch/arm/insts/macromem.hh"
#include "arch/arm/decoder.hh"
#include "arch/arm/generated/decoder.hh"
using namespace std;
using namespace ArmISAInst;

View File

@@ -43,8 +43,8 @@
#ifndef __ARCH_ARM_REGISTERS_HH__
#define __ARCH_ARM_REGISTERS_HH__
#include "arch/arm/generated/max_inst_regs.hh"
#include "arch/arm/intregs.hh"
#include "arch/arm/max_inst_regs.hh"
#include "arch/arm/miscregs.hh"
namespace ArmISA {

View File

@@ -32,7 +32,7 @@
#ifndef __ARCH_MIPS_REGISTERS_HH__
#define __ARCH_MIPS_REGISTERS_HH__
#include "arch/mips/max_inst_regs.hh"
#include "arch/mips/generated/max_inst_regs.hh"
#include "base/misc.hh"
#include "base/types.hh"

View File

@@ -31,7 +31,7 @@
#ifndef __ARCH_POWER_REGISTERS_HH__
#define __ARCH_POWER_REGISTERS_HH__
#include "arch/power/max_inst_regs.hh"
#include "arch/power/generated/max_inst_regs.hh"
#include "arch/power/miscregs.hh"
namespace PowerISA {

View File

@@ -32,7 +32,7 @@
#ifndef __ARCH_SPARC_REGISTERS_HH__
#define __ARCH_SPARC_REGISTERS_HH__
#include "arch/sparc/max_inst_regs.hh"
#include "arch/sparc/generated/max_inst_regs.hh"
#include "arch/sparc/miscregs.hh"
#include "arch/sparc/sparc_traits.hh"
#include "base/types.hh"

View File

@@ -40,7 +40,7 @@
* Authors: Gabe Black
*/
#include "arch/x86/decoder.hh"
#include "arch/x86/generated/decoder.hh"
#include "arch/x86/faults.hh"
#include "arch/x86/isa_traits.hh"
#include "base/trace.hh"

View File

@@ -37,8 +37,8 @@
* Authors: Gabe Black
*/
#include "arch/x86/generated/decoder.hh"
#include "arch/x86/insts/badmicroop.hh"
#include "arch/x86/decoder.hh"
#include "arch/x86/isa_traits.hh"
namespace X86ISA

View File

@@ -40,9 +40,9 @@
#ifndef __ARCH_X86_REGISTERS_HH__
#define __ARCH_X86_REGISTERS_HH__
#include "arch/x86/generated/max_inst_regs.hh"
#include "arch/x86/regs/int.hh"
#include "arch/x86/regs/misc.hh"
#include "arch/x86/max_inst_regs.hh"
#include "arch/x86/x86_traits.hh"
namespace X86ISA