isa_traits.hh (9329:3fe8438cbcfc) isa_traits.hh (10318:98771a936b61)
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007-2008 The Florida State University
4 * Copyright (c) 2009 The University of Edinburgh
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

56const Addr Page_Mask = ~(PageBytes - 1);
57const Addr PageOffset = PageBytes - 1;
58
59const Addr PteShift = 3;
60const Addr NPtePageShift = PageShift - PteShift;
61const Addr NPtePage = ULL(1) << NPtePageShift;
62const Addr PteMask = NPtePage - 1;
63
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007-2008 The Florida State University
4 * Copyright (c) 2009 The University of Edinburgh
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

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

56const Addr Page_Mask = ~(PageBytes - 1);
57const Addr PageOffset = PageBytes - 1;
58
59const Addr PteShift = 3;
60const Addr NPtePageShift = PageShift - PteShift;
61const Addr NPtePage = ULL(1) << NPtePageShift;
62const Addr PteMask = NPtePage - 1;
63
64const int LogVMPageSize = 12; // 4K bytes
65const int VMPageSize = (1 << LogVMPageSize);
66
67const int MachineBytes = 4;
68
69// This is ori 0, 0, 0
70const ExtMachInst NoopMachInst = 0x60000000;
71
72// Memory accesses can be unaligned
73const bool HasUnalignedMemAcc = true;
74
75const bool CurThreadInfoImplemented = false;
76const int CurThreadInfoReg = -1;
77
78} // namespace PowerISA
79
80#endif // __ARCH_POWER_ISA_TRAITS_HH__
64const int MachineBytes = 4;
65
66// This is ori 0, 0, 0
67const ExtMachInst NoopMachInst = 0x60000000;
68
69// Memory accesses can be unaligned
70const bool HasUnalignedMemAcc = true;
71
72const bool CurThreadInfoImplemented = false;
73const int CurThreadInfoReg = -1;
74
75} // namespace PowerISA
76
77#endif // __ARCH_POWER_ISA_TRAITS_HH__