mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-08 16:47:25 +08:00
alpha.c (summarize_insn): Handle ASM_OPERANDS.
* alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse for SUBREG, just fall through. * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero. * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake. From-SVN: r16339
This commit is contained in:
parent
3ed18aebe9
commit
f4e31cf56f
@ -1,3 +1,12 @@
|
||||
Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
|
||||
|
||||
* alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
|
||||
for SUBREG, just fall through.
|
||||
|
||||
* alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
|
||||
|
||||
* alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
|
||||
|
||||
Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* fixincludes: Fix "hypot" prototype in NeXT math.h.
|
||||
|
@ -2848,11 +2848,20 @@ summarize_insn (x, sum, set)
|
||||
summarize_insn (XEXP (x, 0), sum, 0);
|
||||
break;
|
||||
|
||||
case ASM_OPERANDS:
|
||||
for (i = ASM_OPERANDS_INPUT_LENGTH (x) - 1; i >= 0; i--)
|
||||
summarize_insn (ASM_OPERANDS_INPUT (x, i), sum, 0);
|
||||
break;
|
||||
|
||||
case PARALLEL:
|
||||
for (i = XVECLEN (x, 0) - 1; i >= 0; i--)
|
||||
summarize_insn (XVECEXP (x, 0, i), sum, 0);
|
||||
break;
|
||||
|
||||
case SUBREG:
|
||||
x = SUBREG_REG (x);
|
||||
/* FALLTHRU */
|
||||
|
||||
case REG:
|
||||
{
|
||||
int regno = REGNO (x);
|
||||
@ -2888,10 +2897,6 @@ summarize_insn (x, sum, set)
|
||||
summarize_insn (XEXP (x, 0), sum, 0);
|
||||
break;
|
||||
|
||||
case SUBREG:
|
||||
summarize_insn (SUBREG_REG (x), sum, set);
|
||||
break;
|
||||
|
||||
case CONST_INT: case CONST_DOUBLE:
|
||||
case SYMBOL_REF: case LABEL_REF: case CONST:
|
||||
break;
|
||||
@ -3022,7 +3027,7 @@ alpha_handle_trap_shadows (insns)
|
||||
sum.used.i = 0;
|
||||
sum.used.fp = 0;
|
||||
sum.used.mem = 0;
|
||||
sum.defd = shadow.used;
|
||||
sum.defd = sum.used;
|
||||
|
||||
switch (GET_CODE (i))
|
||||
{
|
||||
|
@ -39,7 +39,7 @@
|
||||
;; The TRAP_TYPE attribute marks instructions that may generate traps
|
||||
;; (which are imprecise and may need a trapb if software complention
|
||||
;; is desired).
|
||||
(define_attr "trap" "yes,no" (const_string "no"))
|
||||
(define_attr "trap" "no,yes" (const_string "no"))
|
||||
|
||||
;; For the EV4 we include four function units: ABOX, which computes
|
||||
;; the address, BBOX, used for branches, EBOX, used for integer
|
||||
|
Loading…
Reference in New Issue
Block a user