From b439fb8117323583d4cb9e69779c3ec93bea4b9f Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 25 Feb 1998 01:05:10 +0000 Subject: [PATCH] (s_endgif): Update. NLOOP is in quadwords for IMAGE mode now. --- gas/ChangeLog | 2 +- gas/config/tc-dvp.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 232cdc4b51..0730323488 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -9,7 +9,7 @@ Tue Feb 24 11:01:25 1998 Doug Evans (UNIQUE_LABEL_PREFIX): New macro. (unique_label): Use it. (assemble_gif): Emit start label before mach label. - (s_endgif): Update. + (s_endgif): Update. NLOOP is in quadwords for IMAGE mode now. Mon Feb 23 15:55:12 1998 Doug Evans diff --git a/gas/config/tc-dvp.c b/gas/config/tc-dvp.c index fa5dacc355..c3804c6fe1 100644 --- a/gas/config/tc-dvp.c +++ b/gas/config/tc-dvp.c @@ -2108,10 +2108,10 @@ s_endgif (ignore) /* The -16 is because the `gif_data_name' label is emitted at the start of the gif tag. */ - if (gif_insn_type == GIF_PACKED) - count = eval_expr (0, 0, "(. - %s - 16) >> 4", gif_data_name); - else + if (gif_insn_type == GIF_REGLIST) count = eval_expr (0, 0, "(. - %s - 16) >> 3", gif_data_name); + else + count = eval_expr (0, 0, "(. - %s - 16) >> 4", gif_data_name); if (count < 0 || fixup_count != 0)