IntVec.hh revision 12697
12623SN/A/* 28948Sandreas.hansson@arm.com * Copyright (c) 2015 Advanced Micro Devices, Inc. 37725SAli.Saidi@ARM.com * All rights reserved. 47725SAli.Saidi@ARM.com * 57725SAli.Saidi@ARM.com * For use for simulation and test purposes only 67725SAli.Saidi@ARM.com * 77725SAli.Saidi@ARM.com * Redistribution and use in source and binary forms, with or without 87725SAli.Saidi@ARM.com * modification, are permitted provided that the following conditions are met: 97725SAli.Saidi@ARM.com * 107725SAli.Saidi@ARM.com * 1. Redistributions of source code must retain the above copyright notice, 117725SAli.Saidi@ARM.com * this list of conditions and the following disclaimer. 127725SAli.Saidi@ARM.com * 137725SAli.Saidi@ARM.com * 2. Redistributions in binary form must reproduce the above copyright notice, 142623SN/A * this list of conditions and the following disclaimer in the documentation 152623SN/A * and/or other materials provided with the distribution. 162623SN/A * 172623SN/A * 3. Neither the name of the copyright holder nor the names of its 182623SN/A * contributors may be used to endorse or promote products derived from this 192623SN/A * software without specific prior written permission. 202623SN/A * 212623SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 222623SN/A * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 232623SN/A * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 242623SN/A * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 252623SN/A * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 262623SN/A * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 272623SN/A * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 282623SN/A * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 292623SN/A * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 302623SN/A * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 312623SN/A * POSSIBILITY OF SUCH DAMAGE. 322623SN/A * 332623SN/A * Authors: Brad Beckmann 342623SN/A */ 352623SN/A 362623SN/A#ifndef __MEM_RUBY_COMMON_INTVEC_HH__ 372623SN/A#define __MEM_RUBY_COMMON_INTVEC_HH__ 382623SN/A 392665Ssaidi@eecs.umich.edu#include <ostream> 402665Ssaidi@eecs.umich.edu#include <vector> 412623SN/A 422623SN/Atypedef std::vector<int> IntVec; 433170Sstever@eecs.umich.edu 448105Sgblack@eecs.umich.edustd::ostream& operator<<(std::ostream& os, const std::vector<int>& myvector); 452623SN/A 464040Ssaidi@eecs.umich.edu#endif //__MEM_RUBY_COMMON_INTVEC_HH__ 476658Snate@binkert.org