1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
--- 145 unchanged lines hidden (view full) ---
154 ArmFault::invoke(tc);
155}
156
157#else
158
159void
160UndefinedInstruction::invoke(ThreadContext *tc)
161{
162 assert(unknown || mnemonic != NULL);
163 if (unknown) {
164 panic("Attempted to execute unknown instruction (inst 0x%08x)",
165 machInst);
166 } else {
167 panic("Attempted to execute unimplemented instruction "
168 "'%s' (inst 0x%08x)", mnemonic, machInst);
169 }
170}
171
--- 49 unchanged lines hidden ---
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
--- 145 unchanged lines hidden (view full) ---
154 ArmFault::invoke(tc);
155}
156
157#else
158
159void
160UndefinedInstruction::invoke(ThreadContext *tc)
161{
162 assert(unknown || mnemonic != NULL);
163 if (unknown) {
164 panic("Attempted to execute unknown instruction (inst 0x%08x)",
165 machInst);
166 } else {
167 panic("Attempted to execute unimplemented instruction "
168 "'%s' (inst 0x%08x)", mnemonic, machInst);
169 }
170}
171
--- 49 unchanged lines hidden ---