decoder.isa (7790:9df469679ac7) decoder.isa (7837:bd474b97535c)
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

133 NPC = NPC + 4;
134 }});
135 default: fbfcc(22, test=
136 {{passesFpCondition(Fsr<11:10>, COND2)}});
137 }
138 }
139 }
140 0x1: BranchN::call(30, {{
1// Copyright (c) 2006-2007 The Regents of The University of Michigan
2// All rights reserved.
3//
4// Redistribution and use in source and binary forms, with or without
5// modification, are permitted provided that the following conditions are
6// met: redistributions of source code must retain the above copyright
7// notice, this list of conditions and the following disclaimer;
8// redistributions in binary form must reproduce the above copyright

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

133 NPC = NPC + 4;
134 }});
135 default: fbfcc(22, test=
136 {{passesFpCondition(Fsr<11:10>, COND2)}});
137 }
138 }
139 }
140 0x1: BranchN::call(30, {{
141 if (Pstate<3:>)
142 R15 = (PC)<31:0>;
143 else
144 R15 = PC;
145 NNPC = R15 + disp;
141 IntReg midVal;
142 R15 = midVal = (Pstate<3:> ? (PC)<31:0> : PC);
143 NNPC = midVal + disp;
146 }});
147 0x2: decode OP3 {
148 format IntOp {
149 0x00: add({{Rd = Rs1.sdw + Rs2_or_imm13;}});
150 0x01: and({{Rd = Rs1.sdw & Rs2_or_imm13;}});
151 0x02: or({{Rd = Rs1.sdw | Rs2_or_imm13;}});
152 0x03: xor({{Rd = Rs1.sdw ^ Rs2_or_imm13;}});
153 0x04: sub({{Rd = Rs1.sdw - Rs2_or_imm13;}});

--- 1301 unchanged lines hidden ---
144 }});
145 0x2: decode OP3 {
146 format IntOp {
147 0x00: add({{Rd = Rs1.sdw + Rs2_or_imm13;}});
148 0x01: and({{Rd = Rs1.sdw & Rs2_or_imm13;}});
149 0x02: or({{Rd = Rs1.sdw | Rs2_or_imm13;}});
150 0x03: xor({{Rd = Rs1.sdw ^ Rs2_or_imm13;}});
151 0x04: sub({{Rd = Rs1.sdw - Rs2_or_imm13;}});

--- 1301 unchanged lines hidden ---