operands.isa revision 4338
110448Snilay@cs.wisc.edu// Copyright (c) 2007 The Regents of The University of Michigan 210448Snilay@cs.wisc.edu// All rights reserved. 310448Snilay@cs.wisc.edu// 410448Snilay@cs.wisc.edu// Redistribution and use in source and binary forms, with or without 510448Snilay@cs.wisc.edu// modification, are permitted provided that the following conditions are 610448Snilay@cs.wisc.edu// met: redistributions of source code must retain the above copyright 710448Snilay@cs.wisc.edu// notice, this list of conditions and the following disclaimer; 810448Snilay@cs.wisc.edu// redistributions in binary form must reproduce the above copyright 910448Snilay@cs.wisc.edu// notice, this list of conditions and the following disclaimer in the 1010448Snilay@cs.wisc.edu// documentation and/or other materials provided with the distribution; 1110448Snilay@cs.wisc.edu// neither the name of the copyright holders nor the names of its 1210448Snilay@cs.wisc.edu// contributors may be used to endorse or promote products derived from 1310448Snilay@cs.wisc.edu// this software without specific prior written permission. 1410448Snilay@cs.wisc.edu// 1510448Snilay@cs.wisc.edu// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1610448Snilay@cs.wisc.edu// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1710448Snilay@cs.wisc.edu// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1810448Snilay@cs.wisc.edu// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1910448Snilay@cs.wisc.edu// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2010448Snilay@cs.wisc.edu// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2110448Snilay@cs.wisc.edu// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2210447Snilay@cs.wisc.edu// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2310447Snilay@cs.wisc.edu// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2410447Snilay@cs.wisc.edu// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2510447Snilay@cs.wisc.edu// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2610447Snilay@cs.wisc.edu// 2710447Snilay@cs.wisc.edu// Authors: Gabe Black 2810447Snilay@cs.wisc.edu 2910447Snilay@cs.wisc.edu// Copyright (c) 2007 The Hewlett-Packard Development Company 3010447Snilay@cs.wisc.edu// All rights reserved. 3110447Snilay@cs.wisc.edu// 3210447Snilay@cs.wisc.edu// Redistribution and use of this software in source and binary forms, 3310447Snilay@cs.wisc.edu// with or without modification, are permitted provided that the 3410447Snilay@cs.wisc.edu// following conditions are met: 3510447Snilay@cs.wisc.edu// 3610447Snilay@cs.wisc.edu// The software must be used only for Non-Commercial Use which means any 3710447Snilay@cs.wisc.edu// use which is NOT directed to receiving any direct monetary 3810447Snilay@cs.wisc.edu// compensation for, or commercial advantage from such use. Illustrative 3910447Snilay@cs.wisc.edu// examples of non-commercial use are academic research, personal study, 4010447Snilay@cs.wisc.edu// teaching, education and corporate research & development. 4110447Snilay@cs.wisc.edu// Illustrative examples of commercial use are distributing products for 4210447Snilay@cs.wisc.edu// commercial advantage and providing services using the software for 4310447Snilay@cs.wisc.edu// commercial advantage. 4410447Snilay@cs.wisc.edu// 4510447Snilay@cs.wisc.edu// If you wish to use this software or functionality therein that may be 4610447Snilay@cs.wisc.edu// covered by patents for commercial use, please contact: 4710447Snilay@cs.wisc.edu// Director of Intellectual Property Licensing 4810447Snilay@cs.wisc.edu// Office of Strategy and Technology 4910447Snilay@cs.wisc.edu// Hewlett-Packard Company 5010447Snilay@cs.wisc.edu// 1501 Page Mill Road 5110447Snilay@cs.wisc.edu// Palo Alto, California 94304 5210447Snilay@cs.wisc.edu// 5310447Snilay@cs.wisc.edu// Redistributions of source code must retain the above copyright notice, 5410447Snilay@cs.wisc.edu// this list of conditions and the following disclaimer. Redistributions 5510447Snilay@cs.wisc.edu// in binary form must reproduce the above copyright notice, this list of 5610447Snilay@cs.wisc.edu// conditions and the following disclaimer in the documentation and/or 5710447Snilay@cs.wisc.edu// other materials provided with the distribution. Neither the name of 5810447Snilay@cs.wisc.edu// the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its 5910447Snilay@cs.wisc.edu// contributors may be used to endorse or promote products derived from 6010447Snilay@cs.wisc.edu// this software without specific prior written permission. No right of 6110447Snilay@cs.wisc.edu// sublicense is granted herewith. Derivatives of the software and 6210447Snilay@cs.wisc.edu// output created using the software may be prepared, but only for 6310447Snilay@cs.wisc.edu// Non-Commercial Uses. Derivatives of the software may be shared with 6410447Snilay@cs.wisc.edu// others provided: (i) the others agree to abide by the list of 6510447Snilay@cs.wisc.edu// conditions herein which includes the Non-Commercial Use restrictions; 6610447Snilay@cs.wisc.edu// and (ii) such Derivatives of the software include the above copyright 6710447Snilay@cs.wisc.edu// notice to acknowledge the contribution from this software where 6810447Snilay@cs.wisc.edu// applicable, this list of conditions and the disclaimer below. 6910447Snilay@cs.wisc.edu// 7010447Snilay@cs.wisc.edu// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 7110447Snilay@cs.wisc.edu// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 7210447Snilay@cs.wisc.edu// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 7310447Snilay@cs.wisc.edu// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 7410447Snilay@cs.wisc.edu// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 7510447Snilay@cs.wisc.edu// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 7610447Snilay@cs.wisc.edu// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 7710447Snilay@cs.wisc.edu// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 7810447Snilay@cs.wisc.edu// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 7910447Snilay@cs.wisc.edu// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 8010447Snilay@cs.wisc.edu// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8110447Snilay@cs.wisc.edu// 8210447Snilay@cs.wisc.edu// Authors: Gabe Black 8310447Snilay@cs.wisc.edu 8410447Snilay@cs.wisc.edudef operand_types {{ 8510447Snilay@cs.wisc.edu 'sb' : ('signed int', 8), 8610447Snilay@cs.wisc.edu 'ub' : ('unsigned int', 8), 8710447Snilay@cs.wisc.edu 'sw' : ('signed int', 16), 8810447Snilay@cs.wisc.edu 'uw' : ('unsigned int', 16), 8910447Snilay@cs.wisc.edu 'sdw' : ('signed int', 32), 9010447Snilay@cs.wisc.edu 'udw' : ('unsigned int', 32), 9110447Snilay@cs.wisc.edu 'sqw' : ('signed int', 64), 9210447Snilay@cs.wisc.edu 'uqw' : ('unsigned int', 64), 9310447Snilay@cs.wisc.edu 'sf' : ('float', 32), 9410447Snilay@cs.wisc.edu 'df' : ('float', 64), 9510447Snilay@cs.wisc.edu 'qf' : ('float', 128) 9610447Snilay@cs.wisc.edu}}; 9710447Snilay@cs.wisc.edu 9810447Snilay@cs.wisc.edudef operands {{ 9910447Snilay@cs.wisc.edu 'IntRegOp0': ('IntReg', 'udw', 'param0', 'IsInteger', 1), 10010447Snilay@cs.wisc.edu 'IntRegOp1': ('IntReg', 'udw', 'param1', 'IsInteger', 2), 10110447Snilay@cs.wisc.edu 'IntRegOp2': ('IntReg', 'udw', 'param2', 'IsInteger', 2), 10210447Snilay@cs.wisc.edu}}; 10310447Snilay@cs.wisc.edu