move.py revision 6608
12SN/A# Copyright (c) 2007 The Hewlett-Packard Development Company 28733Sgeoffrey.blake@arm.com# All rights reserved. 38733Sgeoffrey.blake@arm.com# 48733Sgeoffrey.blake@arm.com# Redistribution and use of this software in source and binary forms, 58733Sgeoffrey.blake@arm.com# with or without modification, are permitted provided that the 68733Sgeoffrey.blake@arm.com# following conditions are met: 78733Sgeoffrey.blake@arm.com# 88733Sgeoffrey.blake@arm.com# The software must be used only for Non-Commercial Use which means any 98733Sgeoffrey.blake@arm.com# use which is NOT directed to receiving any direct monetary 108733Sgeoffrey.blake@arm.com# compensation for, or commercial advantage from such use. Illustrative 118733Sgeoffrey.blake@arm.com# examples of non-commercial use are academic research, personal study, 128733Sgeoffrey.blake@arm.com# teaching, education and corporate research & development. 138733Sgeoffrey.blake@arm.com# Illustrative examples of commercial use are distributing products for 142188SN/A# commercial advantage and providing services using the software for 152SN/A# commercial advantage. 162SN/A# 172SN/A# If you wish to use this software or functionality therein that may be 182SN/A# covered by patents for commercial use, please contact: 192SN/A# Director of Intellectual Property Licensing 202SN/A# Office of Strategy and Technology 212SN/A# Hewlett-Packard Company 222SN/A# 1501 Page Mill Road 232SN/A# Palo Alto, California 94304 242SN/A# 252SN/A# Redistributions of source code must retain the above copyright notice, 262SN/A# this list of conditions and the following disclaimer. Redistributions 272SN/A# in binary form must reproduce the above copyright notice, this list of 282SN/A# conditions and the following disclaimer in the documentation and/or 292SN/A# other materials provided with the distribution. Neither the name of 302SN/A# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 312SN/A# contributors may be used to endorse or promote products derived from 322SN/A# this software without specific prior written permission. No right of 332SN/A# sublicense is granted herewith. Derivatives of the software and 342SN/A# output created using the software may be prepared, but only for 352SN/A# Non-Commercial Uses. Derivatives of the software may be shared with 362SN/A# others provided: (i) the others agree to abide by the list of 372SN/A# conditions herein which includes the Non-Commercial Use restrictions; 382SN/A# and (ii) such Derivatives of the software include the above copyright 392665SN/A# notice to acknowledge the contribution from this software where 402665SN/A# applicable, this list of conditions and the disclaimer below. 412665SN/A# 422SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 432SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 442683Sktlim@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 452683Sktlim@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 462SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 479020Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 486313Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 492190SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 506329Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 514997Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 526316Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 536216Snate@binkert.org# 546658Snate@binkert.org# Authors: Gabe Black 552680SN/A 562683Sktlim@umich.edumicrocode = ''' 578232Snate@binkert.orgdef macroop MOVQ_XMM_XMM { 588232Snate@binkert.org movfp xmml, xmmlm 598777Sgblack@eecs.umich.edu lfpimm xmmh, 0 602395SN/A}; 612190SN/A 622188SN/Adef macroop MOVQ_XMM_M { 638777Sgblack@eecs.umich.edu ldfp xmml, seg, sib, disp, dataSize=8 64217SN/A lfpimm xmmh, 0 658777Sgblack@eecs.umich.edu}; 662SN/A 672SN/Adef macroop MOVQ_XMM_P { 688887Sgeoffrey.blake@arm.com rdip t7 691070SN/A ldfp xmml, seg, riprel, disp, dataSize=8 701917SN/A lfpimm xmmh, 0 711917SN/A}; 722521SN/A 733548Sgblack@eecs.umich.edudef macroop MOVQ_M_XMM { 743548Sgblack@eecs.umich.edu stfp xmml, seg, sib, disp, dataSize=8 753548Sgblack@eecs.umich.edu}; 768902Sandreas.hansson@arm.com 778902Sandreas.hansson@arm.comdef macroop MOVQ_P_XMM { 782330SN/A rdip t7 792683Sktlim@umich.edu stfp xmml, seg, riprel, disp, dataSize=8 802683Sktlim@umich.edu}; 812683Sktlim@umich.edu 822683Sktlim@umich.edudef macroop MOVDQ2Q_MMX_XMM { 832683Sktlim@umich.edu movfp mmx, xmmlm, dataSize=8 842683Sktlim@umich.edu}; 852683Sktlim@umich.edu 862683Sktlim@umich.edudef macroop MOVQ2DQ_XMM_MMX { 872683Sktlim@umich.edu movfp xmml, mmxm, dataSize=8 882683Sktlim@umich.edu lfpimm xmmh, 0 892683Sktlim@umich.edu}; 902683Sktlim@umich.edu''' 912683Sktlim@umich.edu# MOVDQA 922683Sktlim@umich.edu# MOVDQU 932683Sktlim@umich.edu# LDDQU 942SN/A