From ebeeafe61cc1f31bae03052de4c11daf2641c112 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Tue, 31 Oct 2000 10:30:11 +0000 Subject: [PATCH] Better bundle template selection --- gas/ChangeLog | 4 ++++ gas/config/tc-ia64.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b4bbaae214d..cfefa36184d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2000-10-31 Bernd Schmidt + + * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2. + 2000-10-30 Kazu Hirata * expr.c: Fix formatting. diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 065a0eefb2f..1c0508e83ce 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -5711,9 +5711,9 @@ match (int templ, int type, int slot) static inline int extra_goodness (int templ, int slot) { - if (match (templ, IA64_TYPE_F, slot)) + if (slot == 1 && match (templ, IA64_TYPE_F, slot)) return 2; - if (match (templ, IA64_TYPE_B, slot)) + if (slot == 2 && match (templ, IA64_TYPE_B, slot)) return 1; return 0; } -- 2.30.2