__init__.py revision 7087
12292SN/A# Copyright (c) 2007 The Hewlett-Packard Development Company 210333Smitch.hayenga@arm.com# All rights reserved. 310239Sbinhpham@cs.rutgers.edu# 48707Sandreas.hansson@arm.com# The license below extends only to copyright in the software and shall 58707Sandreas.hansson@arm.com# not be construed as granting a license to any other intellectual 68707Sandreas.hansson@arm.com# property including but not limited to intellectual property relating 78707Sandreas.hansson@arm.com# to a hardware implementation of the functionality of the software 88707Sandreas.hansson@arm.com# licensed hereunder. You may use the software subject to the license 98707Sandreas.hansson@arm.com# terms below provided that you ensure that this notice is replicated 108707Sandreas.hansson@arm.com# unmodified and in its entirety in all distributions of the software, 118707Sandreas.hansson@arm.com# modified or unmodified, in source code or in binary form. 128707Sandreas.hansson@arm.com# 138707Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 148707Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 152727Sktlim@umich.edu# met: redistributions of source code must retain the above copyright 162292SN/A# notice, this list of conditions and the following disclaimer; 172292SN/A# redistributions in binary form must reproduce the above copyright 182292SN/A# notice, this list of conditions and the following disclaimer in the 192292SN/A# documentation and/or other materials provided with the distribution; 202292SN/A# neither the name of the copyright holders nor the names of its 212292SN/A# contributors may be used to endorse or promote products derived from 222292SN/A# this software without specific prior written permission. 232292SN/A# 242292SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 252292SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 262292SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 272292SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 282292SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 292292SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 302292SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 312292SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 322292SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 332292SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 342292SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 352292SN/A# 362292SN/A# Authors: Gabe Black 372292SN/A 382292SN/Acategories = ["call", 392292SN/A "conditional_jump", 402689Sktlim@umich.edu "interrupts_and_exceptions", 412689Sktlim@umich.edu "jump", 422292SN/A "loop", 432292SN/A "xreturn"] 449944Smatt.horsnell@ARM.com 459944Smatt.horsnell@ARM.commicrocode = "" 469944Smatt.horsnell@ARM.comfor category in categories: 472329SN/A exec "import %s as cat" % category 482980Sgblack@eecs.umich.edu microcode += cat.microcode 492329SN/A