decoder.isa (5570:13592d41f290) decoder.isa (5585:45233156c3cc)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 MIPS Technologies, Inc.
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

--- 589 unchanged lines hidden (view full) ---

598 }
599 }
600 default: CP0Unimpl::unknown();
601 }
602 format CP0Control {
603 0xA: rdpgpr({{
604 if(Config_AR >= 1)
605 { // Rev 2 of the architecture
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007 MIPS Technologies, Inc.
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

--- 589 unchanged lines hidden (view full) ---

598 }
599 }
600 default: CP0Unimpl::unknown();
601 }
602 format CP0Control {
603 0xA: rdpgpr({{
604 if(Config_AR >= 1)
605 { // Rev 2 of the architecture
606 Rd = xc->tcBase()->readIntReg(RT + NumIntRegs * SRSCtl_PSS);
606 panic("Shadow Sets Not Fully Implemented.\n");
607 //Rd = xc->tcBase()->readIntReg(RT + NumIntRegs * SRSCtl_PSS);
607 }
608 else
609 {
610 fault = new ReservedInstructionFault();
611 }
612 }});
613 0xE: wrpgpr({{
614 if(Config_AR >= 1)
615 { // Rev 2 of the architecture
608 }
609 else
610 {
611 fault = new ReservedInstructionFault();
612 }
613 }});
614 0xE: wrpgpr({{
615 if(Config_AR >= 1)
616 { // Rev 2 of the architecture
616 xc->tcBase()->setIntReg(RD + NumIntRegs * SRSCtl_PSS,Rt);
617 panic("Shadow Sets Not Fully Implemented.\n");
618 //xc->tcBase()->setIntReg(RD + NumIntRegs * SRSCtl_PSS,Rt);
617 // warn("Writing %d to %d, PSS: %d, SRS: %x\n",Rt,RD + NumIntRegs * SRSCtl_PSS, SRSCtl_PSS,SRSCtl);
618 }
619 else
620 {
621 fault = new ReservedInstructionFault();
622 }
623
624 }});

--- 1493 unchanged lines hidden ---
619 // warn("Writing %d to %d, PSS: %d, SRS: %x\n",Rt,RD + NumIntRegs * SRSCtl_PSS, SRSCtl_PSS,SRSCtl);
620 }
621 else
622 {
623 fault = new ReservedInstructionFault();
624 }
625
626 }});

--- 1493 unchanged lines hidden ---