isa_traits.hh (3093:b09c33e66bce) | isa_traits.hh (3414:b57e400b2933) |
---|---|
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; --- 43 unchanged lines hidden (view full) --- 52 53namespace SparcISA 54{ 55 class RegFile; 56 57 //This makes sure the big endian versions of certain functions are used. 58 using namespace BigEndianGuest; 59 | 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; --- 43 unchanged lines hidden (view full) --- 52 53namespace SparcISA 54{ 55 class RegFile; 56 57 //This makes sure the big endian versions of certain functions are used. 58 using namespace BigEndianGuest; 59 |
60 // Alpha Does NOT have a delay slot | 60 // SPARC have a delay slot |
61 #define ISA_HAS_DELAY_SLOT 1 62 | 61 #define ISA_HAS_DELAY_SLOT 1 62 |
63 //TODO this needs to be a SPARC Noop 64 // Alpha UNOP (ldq_u r31,0(r0)) 65 const MachInst NoopMachInst = 0x2ffe0000; | 63 // SPARC NOP (sethi %(hi(0), g0) 64 const MachInst NoopMachInst = 0x01000000; |
66 67 const int NumIntRegs = 32; 68 const int NumFloatRegs = 64; 69 const int NumMiscRegs = 40; 70 71 // These enumerate all the registers for dependence tracking. 72 enum DependenceTags { 73 // 0..31 are the integer regs 0..31 --- 65 unchanged lines hidden --- | 65 66 const int NumIntRegs = 32; 67 const int NumFloatRegs = 64; 68 const int NumMiscRegs = 40; 69 70 // These enumerate all the registers for dependence tracking. 71 enum DependenceTags { 72 // 0..31 are the integer regs 0..31 --- 65 unchanged lines hidden --- |