data_conversion.py revision 6563
16145SN/A# Copyright (c) 2007 The Hewlett-Packard Development Company 26386SN/A# All rights reserved. 36386SN/A# 46386SN/A# Redistribution and use of this software in source and binary forms, 56386SN/A# with or without modification, are permitted provided that the 66386SN/A# following conditions are met: 76386SN/A# 86386SN/A# The software must be used only for Non-Commercial Use which means any 96386SN/A# use which is NOT directed to receiving any direct monetary 106386SN/A# compensation for, or commercial advantage from such use. Illustrative 116386SN/A# examples of non-commercial use are academic research, personal study, 126386SN/A# teaching, education and corporate research & development. 136386SN/A# Illustrative examples of commercial use are distributing products for 146386SN/A# commercial advantage and providing services using the software for 156386SN/A# commercial advantage. 166386SN/A# 176386SN/A# If you wish to use this software or functionality therein that may be 186386SN/A# covered by patents for commercial use, please contact: 196386SN/A# Director of Intellectual Property Licensing 206386SN/A# Office of Strategy and Technology 216386SN/A# Hewlett-Packard Company 226386SN/A# 1501 Page Mill Road 236386SN/A# Palo Alto, California 94304 246386SN/A# 256386SN/A# Redistributions of source code must retain the above copyright notice, 266386SN/A# this list of conditions and the following disclaimer. Redistributions 276386SN/A# in binary form must reproduce the above copyright notice, this list of 286145SN/A# conditions and the following disclaimer in the documentation and/or 297553SN/A# other materials provided with the distribution. Neither the name of 307553SN/A# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 316145SN/A# contributors may be used to endorse or promote products derived from 327632SBrad.Beckmann@amd.com# this software without specific prior written permission. No right of 337632SBrad.Beckmann@amd.com# sublicense is granted herewith. Derivatives of the software and 347553SN/A# output created using the software may be prepared, but only for 357553SN/A# Non-Commercial Uses. Derivatives of the software may be shared with 366145SN/A# others provided: (i) the others agree to abide by the list of 3711320Ssteve.reinhardt@amd.com# conditions herein which includes the Non-Commercial Use restrictions; 387553SN/A# and (ii) such Derivatives of the software include the above copyright 397553SN/A# notice to acknowledge the contribution from this software where 407553SN/A# applicable, this list of conditions and the disclaimer below. 417553SN/A# 4211320Ssteve.reinhardt@amd.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 437553SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 4411320Ssteve.reinhardt@amd.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 457553SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 468655Sandreas.hansson@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 4711320Ssteve.reinhardt@amd.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 487553SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 4911320Ssteve.reinhardt@amd.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 507553SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 517553SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 528832SAli.Saidi@ARM.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 537553SN/A# 546145SN/A# Authors: Gabe Black 556145SN/A 567553SN/Amicrocode = ''' 576145SN/A# CVTPI2PS and CVTPI2PD are implemented in simd128 58# PI2FW 59# PI2FD 60''' 61