O3CPU.py (9920:028e4da64b42) | O3CPU.py (9921:ee049bfce978) |
---|---|
1# Copyright (c) 2005-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 98 unchanged lines hidden (view full) --- 107 LFSTSize = Param.Unsigned(1024, "Last fetched store table size") 108 SSITSize = Param.Unsigned(1024, "Store set ID table size") 109 110 numRobs = Param.Unsigned(1, "Number of Reorder Buffers"); 111 112 numPhysIntRegs = Param.Unsigned(256, "Number of physical integer registers") 113 numPhysFloatRegs = Param.Unsigned(256, "Number of physical floating point " 114 "registers") | 1# Copyright (c) 2005-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 98 unchanged lines hidden (view full) --- 107 LFSTSize = Param.Unsigned(1024, "Last fetched store table size") 108 SSITSize = Param.Unsigned(1024, "Store set ID table size") 109 110 numRobs = Param.Unsigned(1, "Number of Reorder Buffers"); 111 112 numPhysIntRegs = Param.Unsigned(256, "Number of physical integer registers") 113 numPhysFloatRegs = Param.Unsigned(256, "Number of physical floating point " 114 "registers") |
115 numPhysCCRegs = Param.Unsigned(0, "Number of physical cc registers") | 115 # most ISAs don't use condition-code regs, so default is 0 116 _defaultNumPhysCCRegs = 0 117 if buildEnv['TARGET_ISA'] == 'x86': 118 # For x86, each CC reg is used to hold only a subset of the 119 # flags, so we need 4-5 times the number of CC regs as 120 # physical integer regs to be sure we don't run out. In 121 # typical real machines, CC regs are not explicitly renamed 122 # (it's a side effect of int reg renaming), so they should 123 # never be the bottleneck here. 124 _defaultNumPhysCCRegs = Self.numPhysIntRegs * 5 125 numPhysCCRegs = Param.Unsigned(_defaultNumPhysCCRegs, 126 "Number of physical cc registers") |
116 numIQEntries = Param.Unsigned(64, "Number of instruction queue entries") 117 numROBEntries = Param.Unsigned(192, "Number of reorder buffer entries") 118 119 smtNumFetchingThreads = Param.Unsigned(1, "SMT Number of Fetching Threads") 120 smtFetchPolicy = Param.String('SingleThread', "SMT Fetch policy") 121 smtLSQPolicy = Param.String('Partitioned', "SMT LSQ Sharing Policy") 122 smtLSQThreshold = Param.Int(100, "SMT LSQ Threshold Sharing Parameter") 123 smtIQPolicy = Param.String('Partitioned', "SMT IQ Sharing Policy") --- 26 unchanged lines hidden --- | 127 numIQEntries = Param.Unsigned(64, "Number of instruction queue entries") 128 numROBEntries = Param.Unsigned(192, "Number of reorder buffer entries") 129 130 smtNumFetchingThreads = Param.Unsigned(1, "SMT Number of Fetching Threads") 131 smtFetchPolicy = Param.String('SingleThread', "SMT Fetch policy") 132 smtLSQPolicy = Param.String('Partitioned', "SMT LSQ Sharing Policy") 133 smtLSQThreshold = Param.Int(100, "SMT LSQ Threshold Sharing Parameter") 134 smtIQPolicy = Param.String('Partitioned', "SMT IQ Sharing Policy") --- 26 unchanged lines hidden --- |