cse.c (146895) | cse.c (161651) |
---|---|
1/* Common subexpression elimination for GNU compiler. 2 Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998 3 1999, 2000, 2001, 2002, 2003, 2004 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 --- 3504 unchanged lines hidden (view full) --- 3513 int addr_q = REG_QTY (REGNO (addr)); 3514 struct qty_table_elem *addr_ent = &qty_table[addr_q]; 3515 3516 if (GET_MODE (addr) == addr_ent->mode 3517 && addr_ent->const_rtx != NULL_RTX) 3518 addr = addr_ent->const_rtx; 3519 } 3520 | 1/* Common subexpression elimination for GNU compiler. 2 Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998 3 1999, 2000, 2001, 2002, 2003, 2004 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 --- 3504 unchanged lines hidden (view full) --- 3513 int addr_q = REG_QTY (REGNO (addr)); 3514 struct qty_table_elem *addr_ent = &qty_table[addr_q]; 3515 3516 if (GET_MODE (addr) == addr_ent->mode 3517 && addr_ent->const_rtx != NULL_RTX) 3518 addr = addr_ent->const_rtx; 3519 } 3520 |
3521 /* Call target hook to avoid the effects of -fpic etc.... */ 3522 addr = targetm.delegitimize_address (addr); 3523 |
|
3521 /* If address is constant, split it into a base and integer offset. */ 3522 if (GET_CODE (addr) == SYMBOL_REF || GET_CODE (addr) == LABEL_REF) 3523 base = addr; 3524 else if (GET_CODE (addr) == CONST && GET_CODE (XEXP (addr, 0)) == PLUS 3525 && GET_CODE (XEXP (XEXP (addr, 0), 1)) == CONST_INT) 3526 { 3527 base = XEXP (XEXP (addr, 0), 0); 3528 offset = INTVAL (XEXP (XEXP (addr, 0), 1)); --- 4499 unchanged lines hidden --- | 3524 /* If address is constant, split it into a base and integer offset. */ 3525 if (GET_CODE (addr) == SYMBOL_REF || GET_CODE (addr) == LABEL_REF) 3526 base = addr; 3527 else if (GET_CODE (addr) == CONST && GET_CODE (XEXP (addr, 0)) == PLUS 3528 && GET_CODE (XEXP (XEXP (addr, 0), 1)) == CONST_INT) 3529 { 3530 base = XEXP (XEXP (addr, 0), 0); 3531 offset = INTVAL (XEXP (XEXP (addr, 0), 1)); --- 4499 unchanged lines hidden --- |