Better bundle template selection
authorBernd Schmidt <bernds@codesourcery.com>
Tue, 31 Oct 2000 10:30:11 +0000 (10:30 +0000)
committerBernd Schmidt <bernds@codesourcery.com>
Tue, 31 Oct 2000 10:30:11 +0000 (10:30 +0000)
gas/ChangeLog
gas/config/tc-ia64.c

index b4bbaae214d36bf3ecb66e71634ccefc350e989f..cfefa36184d147e4ec01d611464ca861c4dbd80c 100644 (file)
@@ -1,3 +1,7 @@
+2000-10-31  Bernd Schmidt  <bernds@redhat.co.uk>
+
+       * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
+
 2000-10-30  Kazu Hirata  <kazu@hxi.com>
 
        * expr.c: Fix formatting.
index 065a0eefb2ffe6248212eb7a61b990b11148c7d6..1c0508e83ce5ea8176b9dcf78ba1618cf32551f9 100644 (file)
@@ -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;
 }
This page took 0.031915 seconds and 4 git commands to generate.