data_conversion.py revision 6563:2c5b80c75da7
16657Snate@binkert.org# Copyright (c) 2007 The Hewlett-Packard Development Company 26657Snate@binkert.org# All rights reserved. 36657Snate@binkert.org# 46657Snate@binkert.org# Redistribution and use of this software in source and binary forms, 56657Snate@binkert.org# with or without modification, are permitted provided that the 66657Snate@binkert.org# following conditions are met: 76657Snate@binkert.org# 86657Snate@binkert.org# The software must be used only for Non-Commercial Use which means any 96657Snate@binkert.org# use which is NOT directed to receiving any direct monetary 106657Snate@binkert.org# compensation for, or commercial advantage from such use. Illustrative 116657Snate@binkert.org# examples of non-commercial use are academic research, personal study, 126657Snate@binkert.org# teaching, education and corporate research & development. 136657Snate@binkert.org# Illustrative examples of commercial use are distributing products for 146657Snate@binkert.org# commercial advantage and providing services using the software for 156657Snate@binkert.org# commercial advantage. 166657Snate@binkert.org# 176657Snate@binkert.org# If you wish to use this software or functionality therein that may be 186657Snate@binkert.org# covered by patents for commercial use, please contact: 196657Snate@binkert.org# Director of Intellectual Property Licensing 206657Snate@binkert.org# Office of Strategy and Technology 216657Snate@binkert.org# Hewlett-Packard Company 226657Snate@binkert.org# 1501 Page Mill Road 236657Snate@binkert.org# Palo Alto, California 94304 246657Snate@binkert.org# 256657Snate@binkert.org# Redistributions of source code must retain the above copyright notice, 266657Snate@binkert.org# this list of conditions and the following disclaimer. Redistributions 276657Snate@binkert.org# in binary form must reproduce the above copyright notice, this list of 286999Snate@binkert.org# conditions and the following disclaimer in the documentation and/or 296657Snate@binkert.org# other materials provided with the distribution. Neither the name of 306657Snate@binkert.org# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 316657Snate@binkert.org# contributors may be used to endorse or promote products derived from 329302Snilay@cs.wisc.edu# this software without specific prior written permission. No right of 336657Snate@binkert.org# sublicense is granted herewith. Derivatives of the software and 3411117Snilay@cs.wisc.edu# output created using the software may be prepared, but only for 3511117Snilay@cs.wisc.edu# Non-Commercial Uses. Derivatives of the software may be shared with 3611117Snilay@cs.wisc.edu# others provided: (i) the others agree to abide by the list of 3711117Snilay@cs.wisc.edu# conditions herein which includes the Non-Commercial Use restrictions; 3811117Snilay@cs.wisc.edu# and (ii) such Derivatives of the software include the above copyright 396657Snate@binkert.org# notice to acknowledge the contribution from this software where 406657Snate@binkert.org# applicable, this list of conditions and the disclaimer below. 416657Snate@binkert.org# 426657Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 436657Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 446657Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 456657Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 466657Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 476657Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 486657Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 496657Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 506882SBrad.Beckmann@amd.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 516657Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 526657Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 536657Snate@binkert.org# 546657Snate@binkert.org# Authors: Gabe Black 556657Snate@binkert.org 566657Snate@binkert.orgmicrocode = ''' 576657Snate@binkert.org# CVTPI2PS and CVTPI2PD are implemented in simd128 586657Snate@binkert.org# PI2FW 596657Snate@binkert.org# PI2FD 606657Snate@binkert.org''' 616657Snate@binkert.org