isa_traits.hh (12408:51e487705276) | isa_traits.hh (12427:b0611f1ad833) |
---|---|
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 --- 34 unchanged lines hidden (view full) --- 43 44namespace PowerISA 45{ 46 47using namespace BigEndianGuest; 48 49StaticInstPtr decodeInst(ExtMachInst); 50 | 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 --- 34 unchanged lines hidden (view full) --- 43 44namespace PowerISA 45{ 46 47using namespace BigEndianGuest; 48 49StaticInstPtr decodeInst(ExtMachInst); 50 |
51// POWER DOES NOT have a delay slot 52#define ISA_HAS_DELAY_SLOT 0 53 | |
54const Addr PageShift = 12; 55const Addr PageBytes = ULL(1) << PageShift; 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; --- 13 unchanged lines hidden --- | 51const Addr PageShift = 12; 52const Addr PageBytes = ULL(1) << PageShift; 53const Addr Page_Mask = ~(PageBytes - 1); 54const Addr PageOffset = PageBytes - 1; 55 56const Addr PteShift = 3; 57const Addr NPtePageShift = PageShift - PteShift; 58const Addr NPtePage = ULL(1) << NPtePageShift; --- 13 unchanged lines hidden --- |