__init__.py revision 5680
14529Sgblack@eecs.umich.edu# Copyright (c) 2007 The Hewlett-Packard Development Company 24529Sgblack@eecs.umich.edu# All rights reserved. 34529Sgblack@eecs.umich.edu# 44529Sgblack@eecs.umich.edu# Redistribution and use of this software in source and binary forms, 54529Sgblack@eecs.umich.edu# with or without modification, are permitted provided that the 64529Sgblack@eecs.umich.edu# following conditions are met: 74529Sgblack@eecs.umich.edu# 84529Sgblack@eecs.umich.edu# The software must be used only for Non-Commercial Use which means any 94529Sgblack@eecs.umich.edu# use which is NOT directed to receiving any direct monetary 104529Sgblack@eecs.umich.edu# compensation for, or commercial advantage from such use. Illustrative 114529Sgblack@eecs.umich.edu# examples of non-commercial use are academic research, personal study, 124529Sgblack@eecs.umich.edu# teaching, education and corporate research & development. 134529Sgblack@eecs.umich.edu# Illustrative examples of commercial use are distributing products for 144529Sgblack@eecs.umich.edu# commercial advantage and providing services using the software for 154529Sgblack@eecs.umich.edu# commercial advantage. 164529Sgblack@eecs.umich.edu# 174529Sgblack@eecs.umich.edu# If you wish to use this software or functionality therein that may be 184529Sgblack@eecs.umich.edu# covered by patents for commercial use, please contact: 194529Sgblack@eecs.umich.edu# Director of Intellectual Property Licensing 204529Sgblack@eecs.umich.edu# Office of Strategy and Technology 214529Sgblack@eecs.umich.edu# Hewlett-Packard Company 224529Sgblack@eecs.umich.edu# 1501 Page Mill Road 234529Sgblack@eecs.umich.edu# Palo Alto, California 94304 244529Sgblack@eecs.umich.edu# 254529Sgblack@eecs.umich.edu# Redistributions of source code must retain the above copyright notice, 264529Sgblack@eecs.umich.edu# this list of conditions and the following disclaimer. Redistributions 274529Sgblack@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of 284529Sgblack@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or 294529Sgblack@eecs.umich.edu# other materials provided with the distribution. Neither the name of 304529Sgblack@eecs.umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 314529Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 324529Sgblack@eecs.umich.edu# this software without specific prior written permission. No right of 334529Sgblack@eecs.umich.edu# sublicense is granted herewith. Derivatives of the software and 344529Sgblack@eecs.umich.edu# output created using the software may be prepared, but only for 354529Sgblack@eecs.umich.edu# Non-Commercial Uses. Derivatives of the software may be shared with 364529Sgblack@eecs.umich.edu# others provided: (i) the others agree to abide by the list of 374529Sgblack@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions; 384529Sgblack@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright 394529Sgblack@eecs.umich.edu# notice to acknowledge the contribution from this software where 404529Sgblack@eecs.umich.edu# applicable, this list of conditions and the disclaimer below. 414529Sgblack@eecs.umich.edu# 424529Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 434529Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 444529Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 454529Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 464529Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 474529Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 484529Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 494529Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 504529Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 514529Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 524529Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 534529Sgblack@eecs.umich.edu# 544529Sgblack@eecs.umich.edu# Authors: Gabe Black 554529Sgblack@eecs.umich.edu 565680Sgblack@eecs.umich.educategories = ["romutil", 575680Sgblack@eecs.umich.edu "general_purpose", 585081Sgblack@eecs.umich.edu "simd128", 595081Sgblack@eecs.umich.edu "simd64", 605081Sgblack@eecs.umich.edu "system", 615081Sgblack@eecs.umich.edu "x87"] 624529Sgblack@eecs.umich.edu 634529Sgblack@eecs.umich.edumicrocode = ''' 644529Sgblack@eecs.umich.edu# X86 microcode 654529Sgblack@eecs.umich.edu''' 664529Sgblack@eecs.umich.edufor category in categories: 674529Sgblack@eecs.umich.edu exec "import %s as cat" % category 684529Sgblack@eecs.umich.edu microcode += cat.microcode 69