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
--- 96 unchanged lines hidden (view full) ---
105 *++uop = new MicroLdrUop(machInst, INTREG_UREG1, INTREG_UREG0,
106 up, addr);
107 } else {
108 // Otherwise just do it normally
109 if (reg == INTREG_PC && exception_ret) {
110 // This must be the exception return form of ldm.
111 *++uop = new MicroLdrRetUop(machInst, regIdx,
112 INTREG_UREG0, up, addr);
113 } else {
114 *++uop = new MicroLdrUop(machInst, regIdx,
115 INTREG_UREG0, up, addr);
116 if (reg == INTREG_PC) {
117 (*uop)->setFlag(StaticInst::IsControl);
118 if (!(condCode == COND_AL || condCode == COND_UC))
119 (*uop)->setFlag(StaticInst::IsCondControl);
120 else
--- 859 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
--- 96 unchanged lines hidden (view full) ---
105 *++uop = new MicroLdrUop(machInst, INTREG_UREG1, INTREG_UREG0,
106 up, addr);
107 } else {
108 // Otherwise just do it normally
109 if (reg == INTREG_PC && exception_ret) {
110 // This must be the exception return form of ldm.
111 *++uop = new MicroLdrRetUop(machInst, regIdx,
112 INTREG_UREG0, up, addr);
113 } else {
114 *++uop = new MicroLdrUop(machInst, regIdx,
115 INTREG_UREG0, up, addr);
116 if (reg == INTREG_PC) {
117 (*uop)->setFlag(StaticInst::IsControl);
118 if (!(condCode == COND_AL || condCode == COND_UC))
119 (*uop)->setFlag(StaticInst::IsCondControl);
120 else
--- 859 unchanged lines hidden ---