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 |
397#ifdef DEBUG 398int 399TournamentBP::BPHistory::newCount = 0; 400#endif |