multiplication.py revision 5081:2ccce8600a9d
1695SN/A# Copyright (c) 2007 The Hewlett-Packard Development Company 21762SN/A# All rights reserved. 3695SN/A# 4695SN/A# Redistribution and use of this software in source and binary forms, 5695SN/A# with or without modification, are permitted provided that the 6695SN/A# following conditions are met: 7695SN/A# 8695SN/A# The software must be used only for Non-Commercial Use which means any 9695SN/A# use which is NOT directed to receiving any direct monetary 10695SN/A# compensation for, or commercial advantage from such use. Illustrative 11695SN/A# examples of non-commercial use are academic research, personal study, 12695SN/A# teaching, education and corporate research & development. 13695SN/A# Illustrative examples of commercial use are distributing products for 14695SN/A# commercial advantage and providing services using the software for 15695SN/A# commercial advantage. 16695SN/A# 17695SN/A# If you wish to use this software or functionality therein that may be 18695SN/A# covered by patents for commercial use, please contact: 19695SN/A# Director of Intellectual Property Licensing 20695SN/A# Office of Strategy and Technology 21695SN/A# Hewlett-Packard Company 22695SN/A# 1501 Page Mill Road 23695SN/A# Palo Alto, California 94304 24695SN/A# 25695SN/A# Redistributions of source code must retain the above copyright notice, 26695SN/A# this list of conditions and the following disclaimer. Redistributions 272665Ssaidi@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of 282665Ssaidi@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or 29695SN/A# other materials provided with the distribution. Neither the name of 30695SN/A# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 31695SN/A# contributors may be used to endorse or promote products derived from 32695SN/A# this software without specific prior written permission. No right of 33695SN/A# sublicense is granted herewith. Derivatives of the software and 34695SN/A# output created using the software may be prepared, but only for 35695SN/A# Non-Commercial Uses. Derivatives of the software may be shared with 36695SN/A# others provided: (i) the others agree to abide by the list of 37695SN/A# conditions herein which includes the Non-Commercial Use restrictions; 38695SN/A# and (ii) such Derivatives of the software include the above copyright 39695SN/A# notice to acknowledge the contribution from this software where 40695SN/A# applicable, this list of conditions and the disclaimer below. 41695SN/A# 427768SAli.Saidi@ARM.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 437768SAli.Saidi@ARM.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 447768SAli.Saidi@ARM.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 457768SAli.Saidi@ARM.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 461717SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 477768SAli.Saidi@ARM.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 487768SAli.Saidi@ARM.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 49695SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 507822Ssteve.reinhardt@amd.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51695SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52695SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53695SN/A# 54729SN/A# Authors: Gabe Black 557068Snate@binkert.org 568720SAli.Saidi@ARM.commicrocode = ''' 577068Snate@binkert.org# FMUL 58695SN/A# FMULP 59729SN/A# FIMUL 60695SN/A''' 61695SN/A