__init__.py revision 5081
15042SN/A# Copyright (c) 2007 The Hewlett-Packard Development Company
25042SN/A# All rights reserved.
35042SN/A#
45042SN/A# Redistribution and use of this software in source and binary forms,
55042SN/A# with or without modification, are permitted provided that the
65042SN/A# following conditions are met:
75042SN/A#
85042SN/A# The software must be used only for Non-Commercial Use which means any
95042SN/A# use which is NOT directed to receiving any direct monetary
105042SN/A# compensation for, or commercial advantage from such use.  Illustrative
115042SN/A# examples of non-commercial use are academic research, personal study,
125042SN/A# teaching, education and corporate research & development.
135042SN/A# Illustrative examples of commercial use are distributing products for
145042SN/A# commercial advantage and providing services using the software for
155042SN/A# commercial advantage.
165042SN/A#
175042SN/A# If you wish to use this software or functionality therein that may be
185042SN/A# covered by patents for commercial use, please contact:
195042SN/A#     Director of Intellectual Property Licensing
205042SN/A#     Office of Strategy and Technology
215042SN/A#     Hewlett-Packard Company
225042SN/A#     1501 Page Mill Road
235042SN/A#     Palo Alto, California  94304
245042SN/A#
255042SN/A# Redistributions of source code must retain the above copyright notice,
265042SN/A# this list of conditions and the following disclaimer.  Redistributions
275042SN/A# in binary form must reproduce the above copyright notice, this list of
285042SN/A# conditions and the following disclaimer in the documentation and/or
295042SN/A# other materials provided with the distribution.  Neither the name of
305042SN/A# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
315042SN/A# contributors may be used to endorse or promote products derived from
325042SN/A# this software without specific prior written permission.  No right of
335042SN/A# sublicense is granted herewith.  Derivatives of the software and
345042SN/A# output created using the software may be prepared, but only for
355042SN/A# Non-Commercial Uses.  Derivatives of the software may be shared with
365042SN/A# others provided: (i) the others agree to abide by the list of
375042SN/A# conditions herein which includes the Non-Commercial Use restrictions;
385042SN/A# and (ii) such Derivatives of the software include the above copyright
395042SN/A# notice to acknowledge the contribution from this software where
405042SN/A# applicable, this list of conditions and the disclaimer below.
415042SN/A#
425042SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
435042SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
445042SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
455042SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
465042SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
475042SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
485042SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
495042SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
505042SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
515042SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
525042SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
535042SN/A#
545042SN/A# Authors: Gabe Black
555042SN/A
565081Sgblack@eecs.umich.educategories = ["integer",
575081Sgblack@eecs.umich.edu              "floating_point"]
585042SN/A
595042SN/Amicrocode = '''
605042SN/A# SSE instructions
615042SN/A'''
625042SN/Afor category in categories:
635042SN/A    exec "import %s as cat" % category
645042SN/A    microcode += cat.microcode
65