tournament.cc (11429:cf5af0cc3be4) | tournament.cc (11433:72b075cdc336) |
---|---|
1/* 2 * Copyright (c) 2011, 2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 374 unchanged lines hidden (view full) --- 383} 384 385TournamentBP* 386TournamentBPParams::create() 387{ 388 return new TournamentBP(this); 389} 390 | 1/* 2 * Copyright (c) 2011, 2014 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 374 unchanged lines hidden (view full) --- 383} 384 385TournamentBP* 386TournamentBPParams::create() 387{ 388 return new TournamentBP(this); 389} 390 |
391unsigned 392TournamentBP::getGHR(void *bp_history) const 393{ 394 return static_cast<BPHistory *>(bp_history)->globalHistory; 395} 396 |
|
391#ifdef DEBUG 392int 393TournamentBP::BPHistory::newCount = 0; 394#endif | 397#ifdef DEBUG 398int 399TournamentBP::BPHistory::newCount = 0; 400#endif |