branch.isa (7188:1310866e4ed5) branch.isa (7200:64bc968a1d10)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

86}};
87
88def format Thumb16CondBranchAndSvc() {{
89 decode_block = '''
90 if (bits(machInst, 11, 9) != 0x7) {
91 return new B(machInst, sext<9>(bits(machInst, 7, 0) << 1),
92 (ConditionCode)(uint32_t)bits(machInst, 11, 8));
93 } else if (bits(machInst, 8)) {
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
4// All rights reserved
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

86}};
87
88def format Thumb16CondBranchAndSvc() {{
89 decode_block = '''
90 if (bits(machInst, 11, 9) != 0x7) {
91 return new B(machInst, sext<9>(bits(machInst, 7, 0) << 1),
92 (ConditionCode)(uint32_t)bits(machInst, 11, 8));
93 } else if (bits(machInst, 8)) {
94 return new WarnUnimplemented("svc", machInst);
94 return new Svc(machInst);
95 } else {
96 // This space will not be allocated in the future.
97 return new WarnUnimplemented("unimplemented", machInst);
98 }
99 '''
100}};
101
102def format Thumb16UncondBranch() {{

--- 146 unchanged lines hidden ---
95 } else {
96 // This space will not be allocated in the future.
97 return new WarnUnimplemented("unimplemented", machInst);
98 }
99 '''
100}};
101
102def format Thumb16UncondBranch() {{

--- 146 unchanged lines hidden ---