isa_traits.hh (2984:797622d7b311) isa_traits.hh (3093:b09c33e66bce)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

37#include "arch/alpha/types.hh"
38#include "config/full_system.hh"
39#include "sim/host.hh"
40
41class StaticInstPtr;
42
43namespace AlphaISA
44{
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

37#include "arch/alpha/types.hh"
38#include "config/full_system.hh"
39#include "sim/host.hh"
40
41class StaticInstPtr;
42
43namespace AlphaISA
44{
45
46 using namespace LittleEndianGuest;
47
48 // These enumerate all the registers for dependence tracking.
49 enum DependenceTags {
50 // 0..31 are the integer regs 0..31
51 // 32..63 are the FP regs 0..31, i.e. use (reg + FP_Base_DepTag)
52 FP_Base_DepTag = 40,
53 Ctrl_Base_DepTag = 72,
54 Fpcr_DepTag = 72, // floating point control register
55 Uniq_DepTag = 73,
56 Lock_Flag_DepTag = 74,
57 Lock_Addr_DepTag = 75,
58 IPR_Base_DepTag = 76
59 };
60
61 StaticInstPtr decodeInst(ExtMachInst);
62
45 using namespace LittleEndianGuest;
46
47 // These enumerate all the registers for dependence tracking.
48 enum DependenceTags {
49 // 0..31 are the integer regs 0..31
50 // 32..63 are the FP regs 0..31, i.e. use (reg + FP_Base_DepTag)
51 FP_Base_DepTag = 40,
52 Ctrl_Base_DepTag = 72,
53 Fpcr_DepTag = 72, // floating point control register
54 Uniq_DepTag = 73,
55 Lock_Flag_DepTag = 74,
56 Lock_Addr_DepTag = 75,
57 IPR_Base_DepTag = 76
58 };
59
60 StaticInstPtr decodeInst(ExtMachInst);
61
62 // Alpha Does NOT have a delay slot
63 #define ISA_HAS_DELAY_SLOT 0
64
63 const Addr PageShift = 13;
64 const Addr PageBytes = ULL(1) << PageShift;
65 const Addr PageMask = ~(PageBytes - 1);
66 const Addr PageOffset = PageBytes - 1;
67
65 const Addr PageShift = 13;
66 const Addr PageBytes = ULL(1) << PageShift;
67 const Addr PageMask = ~(PageBytes - 1);
68 const Addr PageOffset = PageBytes - 1;
69
68
69#if FULL_SYSTEM
70
71 ////////////////////////////////////////////////////////////////////////
72 //
73 // Translation stuff
74 //
75
76 const Addr PteShift = 3;

--- 210 unchanged lines hidden ---
70#if FULL_SYSTEM
71
72 ////////////////////////////////////////////////////////////////////////
73 //
74 // Translation stuff
75 //
76
77 const Addr PteShift = 3;

--- 210 unchanged lines hidden ---