Deleted Added
sdiff udiff text old ( 3042:aad81cbda3d7 ) new ( 3056:f613791cfec0 )
full compact
1// Copyright (c) 2006 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

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

36decode OP default Unknown::unknown()
37{
38 0x0: decode OP2
39 {
40 //Throw an illegal instruction acception
41 0x0: Trap::illtrap({{fault = new IllegalInstruction;}});
42 format BranchN
43 {
44 0x1: decode BPCC
45 {
46 0x0: bpcci(19, {{
47 if(passesCondition(Ccr<3:0>, COND2))
48 NNPC = xc->readPC() + disp;
49 else
50 handle_annul
51 }});
52 0x2: bpccx(19, {{
53 if(passesCondition(Ccr<7:4>, COND2))
54 NNPC = xc->readPC() + disp;
55 else
56 handle_annul
57 }});
58 }
59 0x2: bicc(22, {{
60 if(passesCondition(Ccr<3:0>, COND2))
61 NNPC = xc->readPC() + disp;
62 else
63 handle_annul
64 }});
65 }

--- 826 unchanged lines hidden ---