regredir.cc (6332:2c3e2326a3c3) | regredir.cc (8780:89e0822462a1) |
---|---|
1/* 2 * Copyright (c) 2003-2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Steve Reinhardt 29 * Gabe Black 30 * Kevin Lim 31 */ 32 33#include "arch/alpha/regredir.hh" | 1/* 2 * Copyright (c) 2003-2009 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * 28 * Authors: Steve Reinhardt 29 * Gabe Black 30 * Kevin Lim 31 */ 32 33#include "arch/alpha/regredir.hh" |
34#include "config/full_system.hh" | |
35 36namespace AlphaISA { 37 | 34 35namespace AlphaISA { 36 |
38#if FULL_SYSTEM | |
39const int reg_redir[NumIntRegs] = { 40 /* 0 */ 0, 1, 2, 3, 4, 5, 6, 7, 41 /* 8 */ 32, 33, 34, 35, 36, 37, 38, 15, 42 /* 16 */ 16, 17, 18, 19, 20, 21, 22, 23, 43 /* 24 */ 24, 39, 26, 27, 28, 29, 30, 31 }; | 37const int reg_redir[NumIntRegs] = { 38 /* 0 */ 0, 1, 2, 3, 4, 5, 6, 7, 39 /* 8 */ 32, 33, 34, 35, 36, 37, 38, 15, 40 /* 16 */ 16, 17, 18, 19, 20, 21, 22, 23, 41 /* 24 */ 24, 39, 26, 27, 28, 29, 30, 31 }; |
44#else 45const int reg_redir[NumIntRegs] = { 46 /* 0 */ 0, 1, 2, 3, 4, 5, 6, 7, 47 /* 8 */ 8, 9, 10, 11, 12, 13, 14, 15, 48 /* 16 */ 16, 17, 18, 19, 20, 21, 22, 23, 49 /* 24 */ 24, 25, 26, 27, 28, 29, 30, 31 }; 50#endif | |
51 52} // namespace AlphaISA | 42 43} // namespace AlphaISA |