+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.
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);
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;
sum.used.i = 0;
sum.used.fp = 0;
sum.used.mem = 0;
- sum.defd = shadow.used;
+ sum.defd = sum.used;
switch (GET_CODE (i))
{
;; 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