invlpg.py revision 5359
15359Sgblack@eecs.umich.edu# Copyright (c) 2008 The Regents of The University of Michigan
25359Sgblack@eecs.umich.edu# All rights reserved.
35359Sgblack@eecs.umich.edu#
45359Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
55359Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
65359Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
75359Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
85359Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
95359Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
105359Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
115359Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
125359Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
135359Sgblack@eecs.umich.edu# this software without specific prior written permission.
145359Sgblack@eecs.umich.edu#
155359Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
165359Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
175359Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
185359Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
195359Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
205359Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
215359Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
225359Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
235359Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
245359Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
255359Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
265359Sgblack@eecs.umich.edu#
275359Sgblack@eecs.umich.edu# Authors: Gabe Black
285359Sgblack@eecs.umich.edu
295359Sgblack@eecs.umich.edu# Copyright (c) 2007-2008 The Hewlett-Packard Development Company
305359Sgblack@eecs.umich.edu# All rights reserved.
315359Sgblack@eecs.umich.edu#
325359Sgblack@eecs.umich.edu# Redistribution and use of this software in source and binary forms,
335359Sgblack@eecs.umich.edu# with or without modification, are permitted provided that the
345359Sgblack@eecs.umich.edu# following conditions are met:
355359Sgblack@eecs.umich.edu#
365359Sgblack@eecs.umich.edu# The software must be used only for Non-Commercial Use which means any
375359Sgblack@eecs.umich.edu# use which is NOT directed to receiving any direct monetary
385359Sgblack@eecs.umich.edu# compensation for, or commercial advantage from such use.  Illustrative
395359Sgblack@eecs.umich.edu# examples of non-commercial use are academic research, personal study,
405359Sgblack@eecs.umich.edu# teaching, education and corporate research & development.
415359Sgblack@eecs.umich.edu# Illustrative examples of commercial use are distributing products for
425359Sgblack@eecs.umich.edu# commercial advantage and providing services using the software for
435359Sgblack@eecs.umich.edu# commercial advantage.
445359Sgblack@eecs.umich.edu#
455359Sgblack@eecs.umich.edu# If you wish to use this software or functionality therein that may be
465359Sgblack@eecs.umich.edu# covered by patents for commercial use, please contact:
475359Sgblack@eecs.umich.edu#     Director of Intellectual Property Licensing
485359Sgblack@eecs.umich.edu#     Office of Strategy and Technology
495359Sgblack@eecs.umich.edu#     Hewlett-Packard Company
505359Sgblack@eecs.umich.edu#     1501 Page Mill Road
515359Sgblack@eecs.umich.edu#     Palo Alto, California  94304
525359Sgblack@eecs.umich.edu#
535359Sgblack@eecs.umich.edu# Redistributions of source code must retain the above copyright notice,
545359Sgblack@eecs.umich.edu# this list of conditions and the following disclaimer.  Redistributions
555359Sgblack@eecs.umich.edu# in binary form must reproduce the above copyright notice, this list of
565359Sgblack@eecs.umich.edu# conditions and the following disclaimer in the documentation and/or
575359Sgblack@eecs.umich.edu# other materials provided with the distribution.  Neither the name of
585359Sgblack@eecs.umich.edu# the COPYRIGHT HOLDER(s), HEWLETT-PACKARD COMPANY, nor the names of its
595359Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
605359Sgblack@eecs.umich.edu# this software without specific prior written permission.  No right of
615359Sgblack@eecs.umich.edu# sublicense is granted herewith.  Derivatives of the software and
625359Sgblack@eecs.umich.edu# output created using the software may be prepared, but only for
635359Sgblack@eecs.umich.edu# Non-Commercial Uses.  Derivatives of the software may be shared with
645359Sgblack@eecs.umich.edu# others provided: (i) the others agree to abide by the list of
655359Sgblack@eecs.umich.edu# conditions herein which includes the Non-Commercial Use restrictions;
665359Sgblack@eecs.umich.edu# and (ii) such Derivatives of the software include the above copyright
675359Sgblack@eecs.umich.edu# notice to acknowledge the contribution from this software where
685359Sgblack@eecs.umich.edu# applicable, this list of conditions and the disclaimer below.
695359Sgblack@eecs.umich.edu#
705359Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
715359Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
725359Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
735359Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
745359Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
755359Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
765359Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
775359Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
785359Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
795359Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
805359Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
815359Sgblack@eecs.umich.edu#
825359Sgblack@eecs.umich.edu# Authors: Gabe Black
835359Sgblack@eecs.umich.edu
845359Sgblack@eecs.umich.edumicrocode = '''
855359Sgblack@eecs.umich.edudef macroop INVLPG_M {
865359Sgblack@eecs.umich.edu    tia seg, sib, disp
875359Sgblack@eecs.umich.edu};
885359Sgblack@eecs.umich.edu
895359Sgblack@eecs.umich.edudef macroop INVLPG_P {
905359Sgblack@eecs.umich.edu    rdip t7
915359Sgblack@eecs.umich.edu    tia seg, riprel, disp
925359Sgblack@eecs.umich.edu};
935359Sgblack@eecs.umich.edu'''
94