__init__.py revision 4730
17513SN/A# Copyright (c) 2007 The Hewlett-Packard Development Company 27513SN/A# All rights reserved. 37513SN/A# 48835SAli.Saidi@ARM.com# Redistribution and use of this software in source and binary forms, 57935SN/A# with or without modification, are permitted provided that the 67935SN/A# following conditions are met: 77935SN/A# 87513SN/A# The software must be used only for Non-Commercial Use which means any 97513SN/A# use which is NOT directed to receiving any direct monetary 107513SN/A# compensation for, or commercial advantage from such use. Illustrative 117513SN/A# examples of non-commercial use are academic research, personal study, 128835SAli.Saidi@ARM.com# teaching, education and corporate research & development. 138835SAli.Saidi@ARM.com# Illustrative examples of commercial use are distributing products for 148835SAli.Saidi@ARM.com# commercial advantage and providing services using the software for 158835SAli.Saidi@ARM.com# commercial advantage. 167513SN/A# 178721SN/A# If you wish to use this software or functionality therein that may be 188721SN/A# covered by patents for commercial use, please contact: 197513SN/A# Director of Intellectual Property Licensing 208835SAli.Saidi@ARM.com# Office of Strategy and Technology 218835SAli.Saidi@ARM.com# Hewlett-Packard Company 227935SN/A# 1501 Page Mill Road 237935SN/A# Palo Alto, California 94304 247935SN/A# 257935SN/A# Redistributions of source code must retain the above copyright notice, 267935SN/A# this list of conditions and the following disclaimer. Redistributions 277935SN/A# in binary form must reproduce the above copyright notice, this list of 287935SN/A# conditions and the following disclaimer in the documentation and/or 298893Ssaidi@eecs.umich.edu# other materials provided with the distribution. Neither the name of 307513SN/A# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 317513SN/A# contributors may be used to endorse or promote products derived from 327513SN/A# this software without specific prior written permission. No right of 338835SAli.Saidi@ARM.com# sublicense is granted herewith. Derivatives of the software and 347513SN/A# output created using the software may be prepared, but only for 357513SN/A# Non-Commercial Uses. Derivatives of the software may be shared with 367513SN/A# others provided: (i) the others agree to abide by the list of 377513SN/A# conditions herein which includes the Non-Commercial Use restrictions; 387513SN/A# and (ii) such Derivatives of the software include the above copyright 398835SAli.Saidi@ARM.com# notice to acknowledge the contribution from this software where 407513SN/A# applicable, this list of conditions and the disclaimer below. 417513SN/A# 427513SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 437513SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 448835SAli.Saidi@ARM.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 457513SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 467513SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 477513SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 487513SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 497513SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 507513SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 517513SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 528835SAli.Saidi@ARM.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 537513SN/A# 547513SN/A# Authors: Gabe Black 557513SN/A 567513SN/Acategories = ["undefined_operation"] 577513SN/A 587513SN/Amicrocode = "" 597513SN/Afor category in categories: 608893Ssaidi@eecs.umich.edu exec "import %s as cat" % category 618893Ssaidi@eecs.umich.edu microcode += cat.microcode 627513SN/A 637513SN/A