__init__.py revision 7087
16928SN/A# Copyright (c) 2007 The Hewlett-Packard Development Company
26928SN/A# All rights reserved.
311680SN/A#
411680SN/A# The license below extends only to copyright in the software and shall
511680SN/A# not be construed as granting a license to any other intellectual
68721SN/A# property including but not limited to intellectual property relating
711860Sandreas.hansson@arm.com# to a hardware implementation of the functionality of the software
811860Sandreas.hansson@arm.com# licensed hereunder.  You may use the software subject to the license
911860Sandreas.hansson@arm.com# terms below provided that you ensure that this notice is replicated
1010036SN/A# unmodified and in its entirety in all distributions of the software,
1110036SN/A# modified or unmodified, in source code or in binary form.
1211680SN/A#
1311680SN/A# Redistribution and use in source and binary forms, with or without
1411680SN/A# modification, are permitted provided that the following conditions are
1511680SN/A# met: redistributions of source code must retain the above copyright
1611680SN/A# notice, this list of conditions and the following disclaimer;
1711680SN/A# redistributions in binary form must reproduce the above copyright
1811680SN/A# notice, this list of conditions and the following disclaimer in the
1911680SN/A# documentation and/or other materials provided with the distribution;
2011680SN/A# neither the name of the copyright holders nor the names of its
2111680SN/A# contributors may be used to endorse or promote products derived from
2211680SN/A# this software without specific prior written permission.
2311680SN/A#
2411680SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2511680SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2611680SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2711680SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2811680SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2911680SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3011680SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3111680SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3211680SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3311680SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3411680SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3511680SN/A#
3611680SN/A# Authors: Gabe Black
3711680SN/A
3810526SN/Acategories = ["compare_and_write_mask",
3911680SN/A              "compare_and_write_minimum_or_maximum"]
4011680SN/A
4111680SN/Amicrocode = '''
4211680SN/A# 128 bit multimedia and scientific instructions
4310526SN/A'''
4410526SN/Afor category in categories:
4510526SN/A    exec "import %s as cat" % category
4610526SN/A    microcode += cat.microcode
4710526SN/A