pand.py revision 7087:fb8d5786ff30
112027Sjungma@eit.uni-kl.de# Copyright (c) 2007 The Hewlett-Packard Development Company 212027Sjungma@eit.uni-kl.de# All rights reserved. 312027Sjungma@eit.uni-kl.de# 412027Sjungma@eit.uni-kl.de# The license below extends only to copyright in the software and shall 512027Sjungma@eit.uni-kl.de# not be construed as granting a license to any other intellectual 612027Sjungma@eit.uni-kl.de# property including but not limited to intellectual property relating 712027Sjungma@eit.uni-kl.de# to a hardware implementation of the functionality of the software 812027Sjungma@eit.uni-kl.de# licensed hereunder. You may use the software subject to the license 912027Sjungma@eit.uni-kl.de# terms below provided that you ensure that this notice is replicated 1012027Sjungma@eit.uni-kl.de# unmodified and in its entirety in all distributions of the software, 1112027Sjungma@eit.uni-kl.de# modified or unmodified, in source code or in binary form. 1212027Sjungma@eit.uni-kl.de# 1312027Sjungma@eit.uni-kl.de# Redistribution and use in source and binary forms, with or without 1412027Sjungma@eit.uni-kl.de# modification, are permitted provided that the following conditions are 1512027Sjungma@eit.uni-kl.de# met: redistributions of source code must retain the above copyright 1612027Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer; 1712027Sjungma@eit.uni-kl.de# redistributions in binary form must reproduce the above copyright 1812027Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer in the 1912027Sjungma@eit.uni-kl.de# documentation and/or other materials provided with the distribution; 2012027Sjungma@eit.uni-kl.de# neither the name of the copyright holders nor the names of its 2112027Sjungma@eit.uni-kl.de# contributors may be used to endorse or promote products derived from 2212027Sjungma@eit.uni-kl.de# this software without specific prior written permission. 2312027Sjungma@eit.uni-kl.de# 2412027Sjungma@eit.uni-kl.de# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 2512027Sjungma@eit.uni-kl.de# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 2612027Sjungma@eit.uni-kl.de# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2712027Sjungma@eit.uni-kl.de# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2812027Sjungma@eit.uni-kl.de# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2912027Sjungma@eit.uni-kl.de# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3012027Sjungma@eit.uni-kl.de# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3112027Sjungma@eit.uni-kl.de# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3212027Sjungma@eit.uni-kl.de# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3312027Sjungma@eit.uni-kl.de# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3412027Sjungma@eit.uni-kl.de# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3512027Sjungma@eit.uni-kl.de# 3612027Sjungma@eit.uni-kl.de# Authors: Gabe Black 3712027Sjungma@eit.uni-kl.de 3812027Sjungma@eit.uni-kl.demicrocode = ''' 3912027Sjungma@eit.uni-kl.dedef macroop PAND_XMM_XMM { 4012027Sjungma@eit.uni-kl.de mand xmml, xmml, xmmlm 4112027Sjungma@eit.uni-kl.de mand xmmh, xmmh, xmmhm 4212027Sjungma@eit.uni-kl.de}; 4312027Sjungma@eit.uni-kl.de 4412027Sjungma@eit.uni-kl.dedef macroop PAND_XMM_M { 4512027Sjungma@eit.uni-kl.de lea t1, seg, sib, disp, dataSize=asz 4612027Sjungma@eit.uni-kl.de ldfp ufp1, seg, [1, t0, t1], dataSize=8 4712027Sjungma@eit.uni-kl.de ldfp ufp2, seg, [1, t0, t1], 8, dataSize=8 4812027Sjungma@eit.uni-kl.de mand xmml, xmml, ufp1 4912027Sjungma@eit.uni-kl.de mand xmmh, xmmh, ufp2 5012027Sjungma@eit.uni-kl.de}; 5112027Sjungma@eit.uni-kl.de 5212027Sjungma@eit.uni-kl.dedef macroop PAND_XMM_P { 5312027Sjungma@eit.uni-kl.de rdip t7 5412027Sjungma@eit.uni-kl.de lea t1, seg, riprel, disp, dataSize=asz 5512027Sjungma@eit.uni-kl.de ldfp ufp1, seg, [1, t0, t1], dataSize=8 5612027Sjungma@eit.uni-kl.de ldfp ufp2, seg, [1, t0, t1], 8, dataSize=8 5712027Sjungma@eit.uni-kl.de mand xmml, xmml, ufp1 5812027Sjungma@eit.uni-kl.de mand xmmh, xmmh, ufp2 5912027Sjungma@eit.uni-kl.de}; 6012027Sjungma@eit.uni-kl.de 6112027Sjungma@eit.uni-kl.dedef macroop PANDN_XMM_XMM { 6212027Sjungma@eit.uni-kl.de mandn xmml, xmml, xmmlm 6312027Sjungma@eit.uni-kl.de mandn xmmh, xmmh, xmmhm 6412027Sjungma@eit.uni-kl.de}; 6512027Sjungma@eit.uni-kl.de 6612027Sjungma@eit.uni-kl.dedef macroop PANDN_XMM_M { 6712027Sjungma@eit.uni-kl.de lea t1, seg, sib, disp, dataSize=asz 6812027Sjungma@eit.uni-kl.de ldfp ufp1, seg, [1, t0, t1], dataSize=8 6912027Sjungma@eit.uni-kl.de ldfp ufp2, seg, [1, t0, t1], 8, dataSize=8 7012027Sjungma@eit.uni-kl.de mandn xmml, xmml, ufp1 7112027Sjungma@eit.uni-kl.de mandn xmmh, xmmh, ufp2 7212027Sjungma@eit.uni-kl.de}; 7312027Sjungma@eit.uni-kl.de 7412027Sjungma@eit.uni-kl.dedef macroop PANDN_XMM_P { 7512027Sjungma@eit.uni-kl.de rdip t7 7612027Sjungma@eit.uni-kl.de lea t1, seg, riprel, disp, dataSize=asz 7712027Sjungma@eit.uni-kl.de ldfp ufp1, seg, [1, t0, t1], dataSize=8 7812027Sjungma@eit.uni-kl.de ldfp ufp2, seg, [1, t0, t1], 8, dataSize=8 7912027Sjungma@eit.uni-kl.de mandn xmml, xmml, ufp1 8012027Sjungma@eit.uni-kl.de mandn xmmh, xmmh, ufp2 8112027Sjungma@eit.uni-kl.de}; 8212027Sjungma@eit.uni-kl.de''' 8312027Sjungma@eit.uni-kl.de