isa.hh (9553:2e1e5364dae3) | isa.hh (9920:028e4da64b42) |
---|---|
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 --- 126 unchanged lines hidden (view full) --- 135 } 136 137 int 138 flattenFloatIndex(int reg) 139 { 140 return reg; 141 } 142 | 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 --- 126 unchanged lines hidden (view full) --- 135 } 136 137 int 138 flattenFloatIndex(int reg) 139 { 140 return reg; 141 } 142 |
143 // dummy |
|
143 int | 144 int |
145 flattenCCIndex(int reg) 146 { 147 return reg; 148 } 149 150 int |
|
144 flattenMiscIndex(int reg) 145 { 146 if (reg == MISCREG_SPSR) { 147 int spsr_idx = NUM_MISCREGS; 148 CPSR cpsr = miscRegs[MISCREG_CPSR]; 149 switch (cpsr.mode) { 150 case MODE_USER: 151 warn("User mode does not have SPSR\n"); --- 58 unchanged lines hidden --- | 151 flattenMiscIndex(int reg) 152 { 153 if (reg == MISCREG_SPSR) { 154 int spsr_idx = NUM_MISCREGS; 155 CPSR cpsr = miscRegs[MISCREG_CPSR]; 156 switch (cpsr.mode) { 157 case MODE_USER: 158 warn("User mode does not have SPSR\n"); --- 58 unchanged lines hidden --- |