isa_traits.hh (9057:f5ee56466b91) isa_traits.hh (9329:3fe8438cbcfc)
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

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

66 const int PageShift = 12;
67 const int PageBytes = 1ULL << PageShift;
68
69 const int BranchPredAddrShiftAmt = 0;
70
71 // Memory accesses can be unaligned
72 const bool HasUnalignedMemAcc = true;
73
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

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

66 const int PageShift = 12;
67 const int PageBytes = 1ULL << PageShift;
68
69 const int BranchPredAddrShiftAmt = 0;
70
71 // Memory accesses can be unaligned
72 const bool HasUnalignedMemAcc = true;
73
74 const bool CurThreadInfoImplemented = false;
75 const int CurThreadInfoReg = -1;
76
74 const ExtMachInst NoopMachInst = {
75 0x0, // No legacy prefixes.
76 0x0, // No rex prefix.
77 { 1, 0x0, 0x0, 0x90 }, // One opcode byte, 0x90.
78 0x0, 0x0, // No modrm or sib.
79 0, 0, // No immediate or displacement.
80 8, 8, 8, // All sizes are 8.
81 0, // Displacement size is 0.
82 SixtyFourBitMode // Behave as if we're in 64 bit
83 // mode (this doesn't actually matter).
84 };
85}
86
87#endif // __ARCH_X86_ISATRAITS_HH__
77 const ExtMachInst NoopMachInst = {
78 0x0, // No legacy prefixes.
79 0x0, // No rex prefix.
80 { 1, 0x0, 0x0, 0x90 }, // One opcode byte, 0x90.
81 0x0, 0x0, // No modrm or sib.
82 0, 0, // No immediate or displacement.
83 8, 8, 8, // All sizes are 8.
84 0, // Displacement size is 0.
85 SixtyFourBitMode // Behave as if we're in 64 bit
86 // mode (this doesn't actually matter).
87 };
88}
89
90#endif // __ARCH_X86_ISATRAITS_HH__