dsp.isa (10196:be0e1724eb39) dsp.isa (10474:799c8ee4ecba)
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

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

74 {
75 if (isDspEnabled(xc))
76 {
77 %(op_rd)s;
78 %(code)s;
79 }
80 else
81 {
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

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

74 {
75 if (isDspEnabled(xc))
76 {
77 %(op_rd)s;
78 %(code)s;
79 }
80 else
81 {
82 fault = new DspStateDisabledFault();
82 fault = std::make_shared<DspStateDisabledFault>();
83 }
84 }
85 else
86 {
83 }
84 }
85 else
86 {
87 fault = new ReservedInstructionFault();
87 fault = std::make_shared<ReservedInstructionFault>();
88 }
89
90 if(fault == NoFault)
91 {
92 %(op_wb)s;
93 }
94 return fault;
95 }

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

107 {
108 if (isDspEnabled(xc))
109 {
110 %(op_rd)s;
111 %(code)s;
112 }
113 else
114 {
88 }
89
90 if(fault == NoFault)
91 {
92 %(op_wb)s;
93 }
94 return fault;
95 }

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

107 {
108 if (isDspEnabled(xc))
109 {
110 %(op_rd)s;
111 %(code)s;
112 }
113 else
114 {
115 fault = new DspStateDisabledFault();
115 fault = std::make_shared<DspStateDisabledFault>();
116 }
117 }
118 else
119 {
116 }
117 }
118 else
119 {
120 fault = new ReservedInstructionFault();
120 fault = std::make_shared<ReservedInstructionFault>();
121 }
122
123 if(fault == NoFault)
124 {
125 %(op_wb)s;
126 //If there are 2 Destination Registers then
127 //concatenate the values for the traceData
128 if(traceData && _numDestRegs == 2) {

--- 91 unchanged lines hidden ---
121 }
122
123 if(fault == NoFault)
124 {
125 %(op_wb)s;
126 //If there are 2 Destination Registers then
127 //concatenate the values for the traceData
128 if(traceData && _numDestRegs == 2) {

--- 91 unchanged lines hidden ---