jump.c (96263) | jump.c (104752) |
---|---|
1/* Optimize jump instructions, for GNU compiler. 2 Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997 3 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 4 5This file is part of GCC. 6 7GCC is free software; you can redistribute it and/or modify it under 8the terms of the GNU General Public License as published by the Free --- 2414 unchanged lines hidden (view full) --- 2423 int base = true_regnum (SUBREG_REG (x)); 2424 if (base >= 0 && base < FIRST_PSEUDO_REGISTER) 2425 return base + subreg_regno_offset (REGNO (SUBREG_REG (x)), 2426 GET_MODE (SUBREG_REG (x)), 2427 SUBREG_BYTE (x), GET_MODE (x)); 2428 } 2429 return -1; 2430} | 1/* Optimize jump instructions, for GNU compiler. 2 Copyright (C) 1987, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997 3 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 4 5This file is part of GCC. 6 7GCC is free software; you can redistribute it and/or modify it under 8the terms of the GNU General Public License as published by the Free --- 2414 unchanged lines hidden (view full) --- 2423 int base = true_regnum (SUBREG_REG (x)); 2424 if (base >= 0 && base < FIRST_PSEUDO_REGISTER) 2425 return base + subreg_regno_offset (REGNO (SUBREG_REG (x)), 2426 GET_MODE (SUBREG_REG (x)), 2427 SUBREG_BYTE (x), GET_MODE (x)); 2428 } 2429 return -1; 2430} |
2431 2432/* Return regno of the register REG and handle subregs too. */ 2433unsigned int 2434reg_or_subregno (reg) 2435 rtx reg; 2436{ 2437 if (REG_P (reg)) 2438 return REGNO (reg); 2439 if (GET_CODE (reg) == SUBREG) 2440 return REGNO (SUBREG_REG (reg)); 2441 abort (); 2442} |
|