isa_traits.hh (9329:3fe8438cbcfc) | isa_traits.hh (10318:98771a936b61) |
---|---|
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 --- 45 unchanged lines hidden (view full) --- 54 55 // X86 does not have a delay slot 56#define ISA_HAS_DELAY_SLOT 0 57 58 // X86 NOP (XCHG rAX, rAX) 59 //XXX This needs to be set to an intermediate instruction struct 60 //which encodes this instruction 61 | 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 --- 45 unchanged lines hidden (view full) --- 54 55 // X86 does not have a delay slot 56#define ISA_HAS_DELAY_SLOT 0 57 58 // X86 NOP (XCHG rAX, rAX) 59 //XXX This needs to be set to an intermediate instruction struct 60 //which encodes this instruction 61 |
62 //4k. This value is not constant on x86. 63 const int LogVMPageSize = 12; 64 const int VMPageSize = (1 << LogVMPageSize); | 62 const Addr PageShift = 12; 63 const Addr PageBytes = ULL(1) << PageShift; |
65 | 64 |
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 77 const ExtMachInst NoopMachInst = { 78 0x0, // No legacy prefixes. --- 12 unchanged lines hidden --- | 65 // Memory accesses can be unaligned 66 const bool HasUnalignedMemAcc = true; 67 68 const bool CurThreadInfoImplemented = false; 69 const int CurThreadInfoReg = -1; 70 71 const ExtMachInst NoopMachInst = { 72 0x0, // No legacy prefixes. --- 12 unchanged lines hidden --- |