isa_traits.hh (3421:d984945e5869) | isa_traits.hh (3437:96977e433be6) |
---|---|
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 // SPARC have a delay slot | 60 // SPARC has a delay slot |
61 #define ISA_HAS_DELAY_SLOT 1 62 63 // SPARC NOP (sethi %(hi(0), g0) 64 const MachInst NoopMachInst = 0x01000000; 65 | 61 #define ISA_HAS_DELAY_SLOT 1 62 63 // SPARC NOP (sethi %(hi(0), g0) 64 const MachInst NoopMachInst = 0x01000000; 65 |
66 const int NumIntRegs = 32; | 66 const int NumRegularIntRegs = 32; 67 const int NumMicroIntRegs = 1; 68 const int NumIntRegs = 69 NumRegularIntRegs + 70 NumMicroIntRegs; |
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 73 // 32..95 are the FP regs 0..31, i.e. use (reg + FP_Base_DepTag) 74 FP_Base_DepTag = NumIntRegs, --- 63 unchanged lines hidden --- | 71 const int NumFloatRegs = 64; 72 const int NumMiscRegs = 40; 73 74 // These enumerate all the registers for dependence tracking. 75 enum DependenceTags { 76 // 0..31 are the integer regs 0..31 77 // 32..95 are the FP regs 0..31, i.e. use (reg + FP_Base_DepTag) 78 FP_Base_DepTag = NumIntRegs, --- 63 unchanged lines hidden --- |