__init__.py revision 7087:fb8d5786ff30
19022Sgblack@eecs.umich.edu# Copyright (c) 2007 The Hewlett-Packard Development Company
212763Sgiacomo.travaglini@arm.com# All rights reserved.
310037SARM gem5 Developers#
410037SARM gem5 Developers# The license below extends only to copyright in the software and shall
510037SARM gem5 Developers# not be construed as granting a license to any other intellectual
610037SARM gem5 Developers# property including but not limited to intellectual property relating
710037SARM gem5 Developers# to a hardware implementation of the functionality of the software
810037SARM gem5 Developers# licensed hereunder.  You may use the software subject to the license
910037SARM gem5 Developers# terms below provided that you ensure that this notice is replicated
1010037SARM gem5 Developers# unmodified and in its entirety in all distributions of the software,
1110037SARM gem5 Developers# modified or unmodified, in source code or in binary form.
1210037SARM gem5 Developers#
1310037SARM gem5 Developers# Redistribution and use in source and binary forms, with or without
149023Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
159022Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
169022Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
179022Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
189022Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
199022Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
209022Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
219022Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
229022Sgblack@eecs.umich.edu# this software without specific prior written permission.
239022Sgblack@eecs.umich.edu#
249022Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
259022Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
269022Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
279022Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
289022Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
299022Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
309022Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
319022Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
329022Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
339022Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
349022Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
359022Sgblack@eecs.umich.edu#
369022Sgblack@eecs.umich.edu# Authors: Gabe Black
379022Sgblack@eecs.umich.edu
389022Sgblack@eecs.umich.educategories = ["data_transfer",
399022Sgblack@eecs.umich.edu              "data_conversion",
409022Sgblack@eecs.umich.edu              "data_reordering",
419022Sgblack@eecs.umich.edu              "arithmetic",
429022Sgblack@eecs.umich.edu              "compare",
439022Sgblack@eecs.umich.edu              "logical"]
4411165SRekai.GonzalezAlberquilla@arm.com
4511165SRekai.GonzalezAlberquilla@arm.commicrocode = '''
469023Sgblack@eecs.umich.edu# SSE instructions
479023Sgblack@eecs.umich.edu'''
489023Sgblack@eecs.umich.edufor category in categories:
499023Sgblack@eecs.umich.edu    exec "import %s as cat" % category
509022Sgblack@eecs.umich.edu    microcode += cat.microcode
519022Sgblack@eecs.umich.edu