decoder.isa (4661:44458219add1) | decoder.isa (4675:598d4c33c38d) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2006 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28// 29// Authors: Korey Sewell | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2006 The Regents of The University of Michigan 4// All rights reserved. 5// 6// Redistribution and use in source and binary forms, with or without 7// modification, are permitted provided that the following conditions are 8// met: redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28// 29// Authors: Korey Sewell |
30// Brett Miller |
|
30 31//////////////////////////////////////////////////////////////////// 32// 33// The actual MIPS32 ISA decoder 34// ----------------------------- 35// The following instructions are specified in the MIPS32 ISA 36// Specification. Decoding closely follows the style specified 37// in the MIPS32 ISA specification document starting with Table --- 514 unchanged lines hidden (view full) --- 552 SRSCtl_CSS = SRSCtl_PSS; 553 } 554 } 555 // LLFlag = 0; 556 // ClearHazards(); ? 557 }}); 558 559 0x1F: deret({{ | 31 32//////////////////////////////////////////////////////////////////// 33// 34// The actual MIPS32 ISA decoder 35// ----------------------------- 36// The following instructions are specified in the MIPS32 ISA 37// Specification. Decoding closely follows the style specified 38// in the MIPS32 ISA specification document starting with Table --- 514 unchanged lines hidden (view full) --- 553 SRSCtl_CSS = SRSCtl_PSS; 554 } 555 } 556 // LLFlag = 0; 557 // ClearHazards(); ? 558 }}); 559 560 0x1F: deret({{ |
560 // if(EJTagImplemented()) { 561 if(Debug_DM == 1){ 562 Debug_DM = 1; 563 Debug_IEXI = 0; 564 NPC = DEPC; 565 } 566 else 567 { 568 // Undefined; 569 } 570 //} // EJTag Implemented 571 //else { 572 // Reserved Instruction Exception 573 //} | 561 //if(Debug_DM == 1){ 562 //Debug_DM = 1; 563 //Debug_IEXI = 0; 564 //NPC = DEPC; 565 //} 566 panic("deret not implemented"); |
574 }}); 575 } 576 577 format FailUnimpl { 578 0x01: tlbr(); // Need to hook up to TLB 579 0x02: tlbwi(); // Need to hook up to TLB 580 0x06: tlbwr();// Need to hook up to TLB 581 0x08: tlbp();// Need to hook up to TLB --- 1234 unchanged lines hidden --- | 567 }}); 568 } 569 570 format FailUnimpl { 571 0x01: tlbr(); // Need to hook up to TLB 572 0x02: tlbwi(); // Need to hook up to TLB 573 0x06: tlbwr();// Need to hook up to TLB 574 0x08: tlbp();// Need to hook up to TLB --- 1234 unchanged lines hidden --- |