__init__.py revision 7087:fb8d5786ff30
15323Sgblack@eecs.umich.edu# Copyright (c) 2007 The Hewlett-Packard Development Company 22934Sktlim@umich.edu# All rights reserved. 32934Sktlim@umich.edu# 42934Sktlim@umich.edu# The license below extends only to copyright in the software and shall 52934Sktlim@umich.edu# not be construed as granting a license to any other intellectual 62934Sktlim@umich.edu# property including but not limited to intellectual property relating 72934Sktlim@umich.edu# to a hardware implementation of the functionality of the software 82934Sktlim@umich.edu# licensed hereunder. You may use the software subject to the license 92934Sktlim@umich.edu# terms below provided that you ensure that this notice is replicated 102934Sktlim@umich.edu# unmodified and in its entirety in all distributions of the software, 112934Sktlim@umich.edu# modified or unmodified, in source code or in binary form. 122934Sktlim@umich.edu# 132934Sktlim@umich.edu# Redistribution and use in source and binary forms, with or without 142934Sktlim@umich.edu# modification, are permitted provided that the following conditions are 152934Sktlim@umich.edu# met: redistributions of source code must retain the above copyright 162934Sktlim@umich.edu# notice, this list of conditions and the following disclaimer; 172934Sktlim@umich.edu# redistributions in binary form must reproduce the above copyright 182934Sktlim@umich.edu# notice, this list of conditions and the following disclaimer in the 192934Sktlim@umich.edu# documentation and/or other materials provided with the distribution; 202934Sktlim@umich.edu# neither the name of the copyright holders nor the names of its 212934Sktlim@umich.edu# contributors may be used to endorse or promote products derived from 222934Sktlim@umich.edu# this software without specific prior written permission. 232934Sktlim@umich.edu# 242934Sktlim@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 252934Sktlim@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 262934Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 272934Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 282934Sktlim@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 292934Sktlim@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 302969Sktlim@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 312934Sktlim@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 322995Ssaidi@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 332934Sktlim@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 342934Sktlim@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 352934Sktlim@umich.edu# 362934Sktlim@umich.edu# Authors: Gabe Black 372934Sktlim@umich.edu 382934Sktlim@umich.educategories = ["left_logical_shift", 392934Sktlim@umich.edu "right_logical_shift", 402934Sktlim@umich.edu "right_arithmetic_shift"] 414520Ssaidi@eecs.umich.edu 424520Ssaidi@eecs.umich.edumicrocode = ''' 434982Ssaidi@eecs.umich.edu# 64 bit multimedia instructions 444520Ssaidi@eecs.umich.edu''' 454520Ssaidi@eecs.umich.edufor category in categories: 462934Sktlim@umich.edu exec "import %s as cat" % category 472934Sktlim@umich.edu microcode += cat.microcode 483005Sstever@eecs.umich.edu