Changed the filenames to the new standard again
arch/sparc/isa/formats.isa: Changed the file extensions to .isa again. arch/sparc/isa/main.isa: Changed the file extensions to .isa again --HG-- rename : arch/sparc/isa_desc/base.h => arch/sparc/isa/base.isa rename : arch/sparc/isa_desc/bitfields.h => arch/sparc/isa/bitfields.isa rename : arch/sparc/isa_desc/decoder.h => arch/sparc/isa/decoder.isa rename : arch/sparc/isa_desc/formats.h => arch/sparc/isa/formats.isa rename : arch/sparc/isa_desc/formats/basic.format => arch/sparc/isa/formats/basic.isa rename : arch/sparc/isa_desc/formats/branch.format => arch/sparc/isa/formats/branch.isa rename : arch/sparc/isa_desc/formats/integerop.format => arch/sparc/isa/formats/integerop.isa rename : arch/sparc/isa_desc/formats/mem.format => arch/sparc/isa/formats/mem.isa rename : arch/sparc/isa_desc/formats/noop.format => arch/sparc/isa/formats/noop.isa rename : arch/sparc/isa_desc/formats/trap.format => arch/sparc/isa/formats/trap.isa rename : arch/sparc/isa_desc/includes.h => arch/sparc/isa/includes.isa rename : arch/sparc/isa_desc/isa_desc => arch/sparc/isa/main.isa rename : arch/sparc/isa_desc/operands.h => arch/sparc/isa/operands.isa extra : convert_revision : acb087e81d06ca5d67fe9b402423d7930f6ae798
This commit is contained in:
parent
a0f65246bf
commit
7d9b93d825
15 changed files with 71 additions and 80 deletions
19
arch/sparc/isa/formats.isa
Normal file
19
arch/sparc/isa/formats.isa
Normal file
|
@ -0,0 +1,19 @@
|
|||
//Include the basic format
|
||||
//Templates from this format are used later
|
||||
##include "m5/arch/sparc/isa_desc/formats/basic.isa"
|
||||
|
||||
//Include the integerOp and integerOpCc format
|
||||
##include "m5/arch/sparc/isa_desc/formats/integerop.isa"
|
||||
|
||||
//Include the mem format
|
||||
##include "m5/arch/sparc/isa_desc/formats/mem.isa"
|
||||
|
||||
//Include the trap format
|
||||
##include "m5/arch/sparc/isa_desc/formats/trap.isa"
|
||||
|
||||
//Include the branch format
|
||||
##include "m5/arch/sparc/isa_desc/formats/branch.isa"
|
||||
|
||||
//Include the noop format
|
||||
##include "m5/arch/sparc/isa_desc/formats/noop.isa"
|
||||
|
52
arch/sparc/isa/main.isa
Normal file
52
arch/sparc/isa/main.isa
Normal file
|
@ -0,0 +1,52 @@
|
|||
// -*- mode:c++ -*-
|
||||
|
||||
// Copyright (c) 2003-2005 The Regents of The University of Michigan
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
// met: redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer;
|
||||
// redistributions in binary form must reproduce the above copyright
|
||||
// notice, this list of conditions and the following disclaimer in the
|
||||
// documentation and/or other materials provided with the distribution;
|
||||
// neither the name of the copyright holders nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from
|
||||
// this software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
##include "m5/arch/sparc/isa_desc/includes.isa"
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Namespace statement. Everything below this line will be in the
|
||||
// SparcISAInst namespace.
|
||||
//
|
||||
|
||||
namespace SparcISA;
|
||||
|
||||
//Include the bitfield definitions
|
||||
##include "m5/arch/sparc/isa_desc/bitfields.isa"
|
||||
|
||||
//Include the operand_types and operand definitions
|
||||
##include "m5/arch/sparc/isa_desc/operands.isa"
|
||||
|
||||
//Include the base class for sparc instructions, and some support code
|
||||
##include "m5/arch/sparc/isa_desc/base.isa"
|
||||
|
||||
//Include the definitions for the instruction formats
|
||||
##include "m5/arch/sparc/isa_desc/formats.isa"
|
||||
|
||||
//Include the decoder definition
|
||||
##include "m5/arch/sparc/isa_desc/decoder.isa"
|
|
@ -1,19 +0,0 @@
|
|||
//Include the basic format
|
||||
//Templates from this format are used later
|
||||
##include "m5/arch/sparc/isa_desc/formats/basic.format"
|
||||
|
||||
//Include the integerOp and integerOpCc format
|
||||
##include "m5/arch/sparc/isa_desc/formats/integerop.format"
|
||||
|
||||
//Include the mem format
|
||||
##include "m5/arch/sparc/isa_desc/formats/mem.format"
|
||||
|
||||
//Include the trap format
|
||||
##include "m5/arch/sparc/isa_desc/formats/trap.format"
|
||||
|
||||
//Include the branch format
|
||||
##include "m5/arch/sparc/isa_desc/formats/branch.format"
|
||||
|
||||
//Include the noop format
|
||||
##include "m5/arch/sparc/isa_desc/formats/noop.format"
|
||||
|
|
@ -1,61 +0,0 @@
|
|||
// -*- mode:c++ -*-
|
||||
|
||||
//Copyright (c) 2003, 2004, 2005
|
||||
//The Regents of The University of Michigan
|
||||
//All Rights Reserved
|
||||
|
||||
//This code is part of the M5 simulator, developed by Nathan Binkert,
|
||||
//Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions
|
||||
//from Ron Dreslinski, Dave Greene, Lisa Hsu, Kevin Lim, Ali Saidi,
|
||||
//and Andrew Schultz.
|
||||
|
||||
//Permission is granted to use, copy, create derivative works and
|
||||
//redistribute this software and such derivative works for any purpose,
|
||||
//so long as the copyright notice above, this grant of permission, and
|
||||
//the disclaimer below appear in all copies made; and so long as the
|
||||
//name of The University of Michigan is not used in any advertising or
|
||||
//publicity pertaining to the use or distribution of this software
|
||||
//without specific, written prior authorization.
|
||||
|
||||
//THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE
|
||||
//UNIVERSITY OF MICHIGAN AS TO ITS FITNESS FOR ANY PURPOSE, AND WITHOUT
|
||||
//WARRANTY BY THE UNIVERSITY OF MICHIGAN OF ANY KIND, EITHER EXPRESS OR
|
||||
//IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
|
||||
//MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE REGENTS OF
|
||||
//THE UNIVERSITY OF MICHIGAN SHALL NOT BE LIABLE FOR ANY DAMAGES,
|
||||
//INCLUDING DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
//DAMAGES, WITH RESPECT TO ANY CLAIM ARISING OUT OF OR IN CONNECTION
|
||||
//WITH THE USE OF THE SOFTWARE, EVEN IF IT HAS BEEN OR IS HEREAFTER
|
||||
//ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// SPARC ISA description file.
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
//Include the C++ include directives
|
||||
##include "m5/arch/sparc/isa_desc/includes.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Namespace statement. Everything below this line will be in the
|
||||
// SparcISAInst namespace.
|
||||
//
|
||||
|
||||
namespace SparcISA;
|
||||
|
||||
//Include the bitfield definitions
|
||||
##include "m5/arch/sparc/isa_desc/bitfields.h"
|
||||
|
||||
//Include the operand_types and operand definitions
|
||||
##include "m5/arch/sparc/isa_desc/operands.h"
|
||||
|
||||
//Include the base class for sparc instructions, and some support code
|
||||
##include "m5/arch/sparc/isa_desc/base.h"
|
||||
|
||||
//Include the definitions for the instruction formats
|
||||
##include "m5/arch/sparc/isa_desc/formats.h"
|
||||
|
||||
//Include the decoder definition
|
||||
##include "m5/arch/sparc/isa_desc/decoder.h"
|
Loading…
Reference in a new issue